Solved

Design JSP with multiple rows and columns

Posted on 2009-03-31
4
930 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jersey maven project error 7 134
servlet concurrency 13 84
excpetion with multiple catch 11 104
if statement not resolving in my code 5 42
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now