File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes page transition in JSP-logic needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "page transition in JSP-logic needed" Watch "page transition in JSP-logic needed" New topic
Author

page transition in JSP-logic needed

karthik mahalingam
Greenhorn

Joined: Sep 03, 2004
Posts: 19
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
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: page transition in JSP-logic needed