
hai... GoodEvening
I have one doubt on jsp.please wil u clarify it. how to move one jsp form to another jsp form with out using forward tag

Hi Friend,
You can perform action to move to next page.
1)form1.jsp:
<html> <form method="post" action="form2.jsp"> <table> <tr><td>Enter Name:</td><td><input type="text" name="name"></td></tr> <tr><td>Enter Address:</td><td><input type="text" name="address"></td></tr> <tr><td></td><td><input type="submit" value="submit"></td></tr> </table> </form> </html>
2)form2.jsp:
<%
String name=request.getParameter("name");
String address=request.getParameter("address");
%>
<html>
<h3>Getting values from previous page</h3>
<form>
<table>
<tr><td>Your Name is:</td><td><input type="text" value="<%=name%>"></td></tr>
<tr><td>Your Address is:</td><td><input type="text" value="<%=address%>"></td></tr>
</table>
</form>
</html>
Thanks