Little more details :
in your registration.jsp you should have something like this
<form action="xxx.jsp">
<INPUT TYPE=SUBMIT NAME="action" VALUE="Accept" >
<INPUT TYPE=SUBMIT NAME="action" VALUE="Cancel" >
</form>
xxx.jsp should have :
<%
if (request.getParamter("action" ) = "Accept" ) {
%>
<jsp:forward page="insert.jsp"/>
<%
} else {
%>
<jsp:forward page="registration.jsp"/>
<%
}
%>
Regds
Murugan K Patham
480 - 990 4200 Ext 2712
>>> [EMAIL PROTECTED] 01/30 12:58 PM >>>
Hi !
here is the quick question .
(a) I have three JSP Pages (registration.jsp , confirm.jsp, insert.jsp) . In
registration.jsp user will enter the data and form will be submitted .
(b) confirm.jsp is supposed to read all the data submitted by
registration.jsp and send them back to the client so that user will have
chance to currect any data , that was incurrect .
When submit button is pressed on confirm.jsp , the data should be
forwarded to insert.jsp - where data will be inserted in the back end
database .
When cancel button is pressed on confirm.jsp , User should be taken
back to registration.jsp - with all the fields populated .
Here are my questions .
(1) How to send the user from confirm.jsp either to registration.jsp or to
insert.jsp with all the data
Thanks in advance ,
Boda
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets