just add a mapping.findForward("secondpage"); to the action corresponding to
the register button form submission.

the action mapping would be

<action path="/register" type="FirstRegisterAction" input="/firstpage.jsp"
name="registerform" scope="request" validate="false">
      <forward name="secondpage" path="/secondpage.jsp" />
</action>

-----Original Message-----
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 07, 2004 3:46 PM
To: [EMAIL PROTECTED]
Subject: Action Mapping From a JSP to Another JSP


I have two JSPs: JSP 1 and JSP 2

JSP 1 has a hyperlink (register).  Once users click on
the 'register' hyperlink, the users are suppose to
have JSP 2 displayed in the browser.  That is to say,
there is no action to be performed from JSP 1 to JSP
2.

How do I specify the action mapping in the
struts-config.xml file? 

Thanks.




                
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to