Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
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
 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!