I have three JSP files. From the first jsp file all data has transferred to third JSP file via second JSP. Can you please specify which is the best way to solve?
Please can you be more specific with your question? What is the data? Which data you want to transfer? Is it a bean attribute or a request scoped attribute? Provide the details so that we can help you!!!
Hai, Question: In my first jsp have controls like textbox, textarea. After entered the values click submit button. It will goes to second jsp file. From second jsp file it will goes to third jsp file. In third jsp file reads all values, which entered in first jsp file. What is the best way to achieve.
In my first jsp have controls like textbox, textarea. After entered the values click submit button. It will goes to second jsp file. From second jsp file it will goes to third jsp file. In third jsp file reads all values, which entered in first jsp file. What is the best way to achieve.
The second jsp does not do anything ? Or is something done by the second jsp .. If not .. send it directly to third jsp ...
Which is the best way to read values in thrid jsp file from first jsp file. But the first jsp file is not directly go to thrid jsp file.It will go via second jsp file.
Either you're mis-quoting the question from your interview or it's a poorly worded question. If I were asked this in an interview, I would push the interviewer to clarify the question; first to make sure that the interviewer knew what he/she was talking about and then to show that I could dig when necessary to make sure the question is clear cut before trying to answer it.
Use of beans, according to me, is the best way to do what you are saying. Or set the values as attributes in the request or session or page or application scope.
Correct me if i am wrong. [ November 21, 2008: Message edited by: Sudipto Shekhar ]
Please use real words when posting to the forums. Abbreviations such as "Reg" in place of whatever it's supposed to mean (I have no idea) only serve to make your posts more difficult to read and less likely to generate useful responses.