Tim Moores wrote:Correct, you can only redirect to a single target.
Also, never keep an empty exception handler. At the least, write a message to where you will see it so that you'll know if there's a problem.
Tim Moores wrote:Use for what? What are you trying to accomplish?
Koen Aerts wrote:You cannot do that. You cannot redirect to more than 1 page at a time. How should the browser even handle displaying 3 pages in one window?
Koen Aerts wrote:Is the 2nd page supposed to be displayed underneath the first one, or is it displayed after you proceed (submit) from the first page?
karthik ekantha wrote:
Koen Aerts wrote:Is the 2nd page supposed to be displayed underneath the first one, or is it displayed after you proceed (submit) from the first page?
first jsp page give values and display second jsp page
Koen Aerts wrote:
karthik ekantha wrote:
Koen Aerts wrote:Is the 2nd page supposed to be displayed underneath the first one, or is it displayed after you proceed (submit) from the first page?
first jsp page give values and display second jsp page
Sorry, I can't make sense from that sentence. Are you saying:
1) the output from page 1 and the output from page 2 appear on the screen at the same time
or
2) the output from page 2 will appear on the screen AFTER I submit the form on page 1
I'm just trying to visualize what your screen(s) should look like and how they should flow together.
Tim Moores wrote:The action attribute of the HTML form in the first JSP should point to the URL of the second JSP.
karthik ekantha wrote:
you told first one
1) the output from page 1 and the output from page 2 appear on the screen at the same time
karthik ekantha wrote:totally different 6 jsp files .first three file interact with html and another three files interact with servlet .so i need differentiate in the jsp file
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |