You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tom Miller <to...@hostwebase.com> on 2006/06/10 17:30:55 UTC
can a URL be define within struts-config.xml?
How can I tell struts-config.xml to forward to a link?
I wanted struts-config.xml to go to this site after it done.
http://www.cisco.com
What is the correct syntax to use when one wanted to have an
action to goto within the struts-config.xml?
I am running tomcat 5.0.7
Thanks much,
Tom
<!-- ========== Action Mapping Definitions ======== -->
<action-mappings>
<action
path="/login"
type="test.struts.LoginAction" >
<forward name="valid"
path="http://www.cisco.com">
<forward name="invalid"
path="/jsp/LoginView.jsp" />
</action>
</action-mappings>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: can a URL be define within struts-config.xml?
Posted by Mark Thomas <ma...@apache.org>.
Tom Miller wrote:
> How can I tell struts-config.xml to forward to a link?
> I wanted struts-config.xml to go to this site after it done.
You will likely have better luck asking this on the struts users list.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org