Solved

Design JSP with multiple rows and columns

Posted on 2009-03-31
4
935 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Multi-threading long-running processes can have a significant increase in overall performance and drastically decrease over time it takes for a process to complete. Unfortunately, not all applications support native multi-threading, some by design a…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

724 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