:: Forum >> Version 1 >>

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
Monday, August 8, 2005
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.
Saturday, August 13, 2005
i need just the same thing...........

but I am using Struts framework....

How can I do that
Aniruddha
Tuesday, December 6, 2005
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
Friday, October 13, 2006
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
Saturday, October 21, 2006



This topic is archived.

Back to support forum

Forum search