Found the problem thanks to Joe Germuska, My inputForward was "true" and this was the cause of my problem.
Read what he sent me. I figure this will probably happen to someone else, so here is some great information. Thanks again Joe, the most common causes of "white screens" are when the processForwardConfig method of RequestProcessor is executed with a null ForwardConfig (ActionForward extends ForwardConfig). This might be happening if your <controller> element has "inputForward='true'", which is an instruction to treat the value of the "input" element as the name of a forward instead of as a servlet-context-relative path to which the request dispatcher could forward control. If you did have <controller> set up this way, then the value of input in your case should be "Failure" -- except that using a redirect after a validation failure would cause any request scoped messages to be lost. Another common cause of white-screen is when there's a JSP level error within a tile, at which point Struts can't forward to an error processor because the JSP response has already been committed -- but it doesn't look like that's your problem. Any chance you have inputForward set? Even if you don't, try once with "inputForward='false'" just to see, although it should default to false. Joe -----Original Message----- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 10:29 AM To: Struts Users Mailing List Subject: RE: Help With Action Yes, they should be the same, I have been changing the paths and watching the log. And no matter what I do, the log shows it tries to forward to the path under "input". scott -----Original Message----- From: Schuster Joel M Contr ESC/NDC [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 10:25 AM To: 'Struts Users Mailing List' Subject: RE: Help With Action It seems that your input is: /dealer/jsp/login.jsp And your Failure forward is: /jsp/login.jsp Is there a reason it's different? Validation is different and happens before Action.execute where your forward would happen on Failure. -----Original Message----- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:22 AM To: Struts Users Mailing List Subject: RE: Help With Action 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. Anyone? Scott -----Original Message----- From: Schuster Joel M Contr ESC/NDC [mailto:[EMAIL PROTECTED] 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 [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 9:13 AM To: user@struts.apache.org Subject: Help With Action 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 | [EMAIL PROTECTED] | 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]