struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Purcell" <>
Subject RE: Help With Action
Date Fri, 11 Mar 2005 16:22:29 GMT
I guess I could do that, but the docs state that if the validation fails, request will go to
the "input" tag. and I do not see how to do a redirect on that.



-----Original Message-----
From: Schuster Joel M Contr ESC/NDC []
Sent: Friday, March 11, 2005 10:16 AM
To: 'Struts Users Mailing List'
Subject: RE: Help With Action

<forward name="Failure" path="/jsp/login.jsp" redirect="true" />

?? maybe ??

-----Original Message-----
From: Scott Purcell [] 
Sent: Friday, March 11, 2005 9:13 AM
Subject: Help With Action

I have the following action setup in my struts-config.xml file:
    <forward name="Success" path="/jsp/welcome.jsp" />
    <forward name="Failure" path="/jsp/login.jsp" />
I am failing the ActionForm so my request should go to the "input" tag. And
according to the Logger it does.
2005-03-11 10:12:12,349 INFO - XXX setting
2005-03-11 10:12:12,349 DEBUG org.apache.struts.action.RequestProcessor -
Validating input form properties
2005-03-11 10:12:12,349 INFO - Validate called
on LoginForm
2005-03-11 10:12:12,350 DEBUG org.apache.struts.action.RequestProcessor -
Validation failed, returning to '/dealer/jsp/login.jsp'
But for whatever reason, the page only displays white with no error? I feel
that it needs to do a redirect or something, but not sure how that should
work. Does anyone have any ideas what I am doing wrong?

Scott K Purcell | Developer | VERTIS | 
555 Washington Ave. 4th Floor | St. Louis, MO 63101 | 
314.588.0720 Ext:1320 | |

Vertis is the premier provider of targeted advertising, media, and 
marketing services that drive consumers to marketers more effectively. 


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message