aspose file tools*
The moose likes Struts and the fly likes How to use JSP, HTML, STRUTS-2 AND AJAX for simple form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use JSP, HTML, STRUTS-2 AND AJAX for simple form" Watch "How to use JSP, HTML, STRUTS-2 AND AJAX for simple form" New topic
Author

How to use JSP, HTML, STRUTS-2 AND AJAX for simple form

Ramakrishna Udupa
Ranch Hand

Joined: Aug 09, 2013
Posts: 253
Hello,

I'm Having a form Contains User-Info like name, age, address, country, zip, gender etc., in JSP(Using struts-2 and ajax tags). In same JSP page, I've HTML-Table contains these User-Info as headers. When the user clicks on submit button, All the data, what he entered in the form should populate on the Html table in the first row(always) and when he clicks on particular row in the table, the information re-populate on the form. The HTML-table contains maximum of 5 rows. If he entered sixth row, then pagination required. I want to do this in struts 2 - ajax. I'm new to Ajax. Can any one tell me how to do this. Please post the code if possible.

Thanks:
Ramakrishna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to use JSP, HTML, STRUTS-2 AND AJAX for simple form