You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henry Lu <zh...@umich.edu> on 2002/02/01 21:52:05 UTC

forward setting in struts-config.xml

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>