You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "emmanuel.boudrant" <b7...@yahoo.fr> on 2001/09/17 12:01:24 UTC
struts-config.xml : input attribute ?
Hello,
How works the input attribute in struts-config.xml ?
<action path="/logon"
type="com.meeschaert.struts.logon.LogonAction"
name="logonForm"
input="/logon/logon.jsp" >
<forward name="success" path="/logon/success.jsp"
/>
<forward name="failure" path="/logon/failure.jsp"
/>
</action>
When a request /logon.do, the /logon/logon.jsp page
doesn't displayed.
Thanx
___________________________________________________________
Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
Yahoo! Courrier : http://fr.mail.yahoo.com
Re: struts-config.xml : input attribute ?
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
"input" defines where control will return if validation errors are
generated.
For complete documentation on struts-config.xml, check out the comments in
the DTD. You can view it here:
http://cvs.apache.org/viewcvs/jakarta-struts/conf/share/struts-config_1_0.dt
d?annotate=1.5
----- Original Message -----
From: "emmanuel.boudrant" <b7...@yahoo.fr>
To: <st...@jakarta.apache.org>
Sent: Monday, September 17, 2001 3:01 AM
Subject: struts-config.xml : input attribute ?
> Hello,
>
> How works the input attribute in struts-config.xml ?
>
> <action path="/logon"
> type="com.meeschaert.struts.logon.LogonAction"
> name="logonForm"
> input="/logon/logon.jsp" >
> <forward name="success" path="/logon/success.jsp"
> />
> <forward name="failure" path="/logon/failure.jsp"
> />
> </action>
>
> When a request /logon.do, the /logon/logon.jsp page
> doesn't displayed.
>
> Thanx
>
>
>
> ___________________________________________________________
> Do You Yahoo!? -- Un e-mail gratuit @yahoo.fr !
> Yahoo! Courrier : http://fr.mail.yahoo.com
>