Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Abhijit Kangale
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!