This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to preserve the lastly added contents in table in JSP page?
 
Similar Threads
ServletException BeanUtils populate
when i retrive data from access it showing empty page in tomcat
Error comes whilke compiling the jsp page
spaces while populating using s:iterator
How to cleare the cookies stored in a Cookie class in JSP file?