Solved

Design JSP with multiple rows and columns

Posted on 2009-03-31
4
932 Views
Last Modified: 2013-12-02
Hi,
I want to design a jsp as follows.

Field1   Field2    Field3   Field4   Field5
Field1   Field2    Field3   Field4   Field5
Field1   Field2    Field3   Field4   Field5
Field1   Field2    Field3   Field4   Field5
Field1   Field2    Field3   Field4   Field5

Can any one tell me how to design this JSP and also ways to insert and update the jsp.

Thanks
0
Comment
Question by:visu_nekk
  • 2
4 Comments
 
LVL 20

Accepted Solution

by:
Venabili earned 125 total points
ID: 24031732
Just use an html table and add every line to it in a cycle.
0
 
LVL 10

Assisted Solution

by:aman0711
aman0711 earned 250 total points
ID: 24031755
Make use of html table with border=0

http://www.w3schools.com/html/html_tables.asp
0
 
LVL 10

Assisted Solution

by:aman0711
aman0711 earned 250 total points
ID: 24031781
Heres the code for table, just put it in your jsp page

<table border="0" bordercolor="#FFCC00" style="background-color:#FFFFCC" width="400" cellpadding="3" cellspacing="3">
	<tr>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
	</tr>
	<tr>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
	</tr>
	<tr>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
	</tr>
	<tr>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
	</tr>
	<tr>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
		<td>Table Cell</td>
	</tr>
</table>

Open in new window

0
 
LVL 2

Assisted Solution

by:krishnamukuntha
krishnamukuntha earned 125 total points
ID: 24032641
Are you using any frameworks like struts or any taglibs?
If not may be you think about using DisplayTag

http://displaytag.sourceforge.net/1.2/

There are many ways and means to come up with a insert/update UI.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question