• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to keep my Field values intact between JSPs when using 'HREF'

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can you guys suggest me what is the best industry practice to achieve this. I have a jsp in which I have some fields. I have lookup for one of the field. The user clicks the lookup button and it takes it to the lookup JSP where all the key value pairs are shown. When the user select one of the key by pressing the 'HREF' I come back to my original JSP. Populating the key selected in the field. But by doing so the other fields which the user had already written, gets lost. Because I'm pressing the HREF from the lookup screen and it is not bringing back the original 'request'.
Please suggest.
Thanks
Neha
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
If you have less number of fields's value to be retained you can very well pass it along with the URL and get it back.
If more values need to be maintained you can try session . If not session you can even submit the pages.
bye
Bhuvana
 
reply
    Bookmark Topic Watch Topic
  • New Topic