File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to preserve the lastly added contents in table in JSP page? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "how to preserve the lastly added contents in table in JSP page?" Watch "how to preserve the lastly added contents in table in JSP page?" New topic
Author

how to preserve the lastly added contents in table in JSP page?

Abhijit Kangale
Ranch Hand

Joined: Sep 17, 2009
Posts: 39
Hii all,
I am developing some application in which I will add some information to the table by collecting content of each row from other page. There is add link in the last column of each row. Next time when I am trying to add information to next row the previously added information is getting vanished(since the first page is executing once again).but I want to preserve the lastly added contents. How can I do this...? Some part of code I have presented below.

firstpage.jsp


secondpage.jsp


can anyone try to understand this problem and help me....

Regards,
Abhijit
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Cool, you mean I can define my own allergies at runtime?

I'm allergic to Java code in JSPs and poorly-formatted HTML.

If you *really* want to continue down this path, you'd need to keep a collection of the form data you're gathering in the session.
 
jQuery in Action, 2nd edition
 
subject: how to preserve the lastly added contents in table in JSP page?