3.2.0

how to invoke another jsp page from a jsp page

hi

I need a help regarding how to load other jsp page on click of a button from current jsp page.

My requirement is that I have a jsp page with two text boxes and a submit button. I need to load another jsp page on clicking tht submit button.

I m new to jsp

Any help will be sppreciated.

Regards
Rama
Rama
August 8,
It is same as HTML if you are not using struts or some other framework...
Hope this helps...

Regards,
Saad Z.

--------------- JSP1.jsp -------------
<HTML>
<HEAD><TITLE>JSP1</TITLE></HEAD>
<BODY>
<FORM action="JSP2.jsp" method="post">
Username : <INPUT TYPE="TEXT" NAME="username" VALUE=""><br/>
Password : <INPUT TYPE="PASSWORD" NAME="password" VALUE="">
<INPUT TYPE="SUBMIT" VALUE="Submit">
</FORM>
</BODY>
</HTML>

--------------- JSP2.jsp -------------
<HTML>
<HEAD><TITLE>JSP2</TITLE></HEAD>
<BODY>
JSP2
</BODY>
</HTML>
Saad Z.
August 13,
i need just the same thing...........

but I am using Struts framework....

How can I do that
Aniruddha
December 6,
hi

I need a help regarding how to load other jsp page on click of a button from current jsp page.

My requirement is that I have a jsp page with two check boxes and a submit button. I need to load another jsp page on clicking the submit button depending opens select check box.

I m new to jsp

Any help will be sppreciated.

Regards
Rama
October 13,
hi

I need a help regarding how to load other jsp page on click of a button from current jsp page.

My requirement is that I have a jsp page with two check boxes and a submit button. I need to load another jsp page on clicking the submit button depending opens select check box.

I m new to jsp

Any help will be sppreciated.

Regards
Rama

me
October 21,

This topic is archived.

See also:


Back to support forum