aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes best option for implementing form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "best option for implementing form" Watch "best option for implementing form" New topic
Author

best option for implementing form

rammie singh
Ranch Hand

Joined: Mar 26, 2009
Posts: 116
hi
i have a jsp page in which i want user to enter values.
the page has a table in which user has to enter his values.
what option will be best to implement this...a grid or a simple table.
but if i define a simple table , will the user be able to enter his values. i mean table is good for displaying something i guess.
what is a good option..??
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Not very sure what you exactly mean by grid in html, as far as table is concerned you can always include input elements inside td tag

for e.g.



Swastik
rammie singh
Ranch Hand

Joined: Mar 26, 2009
Posts: 116
suppose i have a table structure like this in which i have to get values from user
what is the best way to implement it




so if the table is very large how to implement this table in a best way??
can any one help me please.
or is there any other way say grid or something else. what is the best way??

Here data1 data2 data3..... are the values to be entered by the user.. which will be fetched in a servlet.these values are not static.
what is the best way to implement this page.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

Looks like a table to me.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rammie singh
Ranch Hand

Joined: Mar 26, 2009
Posts: 116
actually i am using this code to write it but i am not able to align the row contents properly.
can any one tell me where am i making mistake...


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

As this has nothing to do with JSP, moved to the HTML forum.
rammie singh
Ranch Hand

Joined: Mar 26, 2009
Posts: 116
ok so what is thel solution??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

You'll need to supply more info about the issue before anyone can help you. Just saying that things aren't lining up properly is not enough.
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

Use some html editor like Frontpage/Dreamweaver etc, things will be much easier.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

Swastik Dey wrote:Use some html editor like Frontpage/Dreamweaver etc, things will be much easier.

Be aware that WYSIWYG editors generally don't produce what I'd call "good code". In fact, I've found that it make the markup very difficult to deal with, especially from JavaScript, because it's so badly structured.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: best option for implementing form