struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Purcell" <spurc...@vertisinc.com>
Subject Help With Action
Date Fri, 11 Mar 2005 16:13:07 GMT
Hello,
 
I have the following action setup in my struts-config.xml file:
 
 <action
    path="/login"
    input="/dealer/jsp/login.jsp"
    type="com.ddi.dealer.action.LoginAction"
    name="loginBean"
    scope="request"
    validate="true">
    <forward name="Success" path="/jsp/welcome.jsp" />
    <forward name="Failure" path="/jsp/login.jsp" />
  </action>
 
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 com.ddi.dealer.bean.LoginForm - XXX setting username=
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 com.ddi.dealer.bean.LoginForm - 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?
 
Thanks,


Scott K Purcell | Developer | VERTIS | 
555 Washington Ave. 4th Floor | St. Louis, MO 63101 | 
314.588.0720 Ext:1320 | spurcell@vertisinc.com | http://www.vertisinc.com <http://www.vertisinc.com/>
 

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

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message