If I understand your question correctly, see the struts-config.xml file in the example application provided by Struts - here's the portion(s) relevant to you :
<!-- Edit user registration --> <action path="/editRegistration" type="org.apache.struts.webapp.example.EditRegistrationAction" name="registrationForm" scope="request" validate="false"> <forward name="success" path="/registration.jsp"/> </action> <!-- Save mail subscription --> <action path="/saveSubscription" type="org.apache.struts.webapp.example.SaveSubscriptionAction" name="subscriptionForm" scope="request" input="/subscription.jsp"> <forward name="success" path="/editRegistration.do?action=Edit"/> </action> >From: Henry Lu <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: forward setting in struts-config.xml >Date: Fri, 1 Feb 2002 15:52:05 -0500 (EST) > >I set something as followings, but I got errors: > >java.lang.IllegalStateException > at >org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:159) > at >org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:166) >.... >/////////////////////////////////////////////////////////////////////////// >// struts-config.xml: > <global-forwards> > <forward name="welcome" path="/editId.do" /> > </global-forwards> >... > <action > path="/editId" > type="reg.action.EditIdAction" > > <forward > name="continue" > path="/WEB-INF/jsp/reg/EditID.jsp" /> > </action> >... >/////////////////////////////////////////////////////////////////////////// > >What I want to do is to forwad to an action class. >Could someone show me how to do it? > >Thanks, > > >--------------------------------------------------------------------------- >Henry Lu >MCIT phone: (734) 936-2063 >University of Michigan Medical Center fax: (734) 763-4372 > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>