• 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

page transition in JSP-logic needed

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
i have a problem with JSP...
let me explain my problem in detail...
i have three JSP pages.
in the first page im getting two values from a text box and submitting the form and directing to second JSP
in the second jsp iam retreiving certain values from a database using the values entered in the first JSP and displaying them .....then using a button iam calling the third JSP(i.e.,using onClick event of a button)
in the third JSP page iam having another button to call back the second page...
when iam directed to the second page it gets loaded but the data which was listed there previously is not available now....
so i want a logic to get it displayed again when the page is loaded...

this is very urgent...
thanks in advance
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can either pass the data with the request or hold it in session. What do I mean? Well if you are passing values with the request you must include them either in the query string (if its a GET) or passed as hidden form fields (if its a POST). If you don't want to pass values around then make yous JSPs stateful and hold on toi the data as its entered.
reply
    Bookmark Topic Watch Topic
  • New Topic