Daniel, What version of struts are you using? I see the input="input" refers to a local ActionForward but how is struts configured? In the 1.2.4 docs, this controller snippet sounds like it would be VERY useful to you:
inputForward - Set to true if you want the input attribute of <action> elements to be the name of a local or global ActionForward, which will then be used to calculate the ultimate URL. Set to false to treat the input parameter of <action> elements as a module-relative path to the resource to be used as the input form. [false] (optional) It says it defaults to false, i.e. the controller would require the input element to refer to a module-relative path or a resources such as a tile or a JSP/HTML page in your webapp. So, have you tried setting up a struts-config.xml controller line a bit like this: <controller inputForward="true" /> or <<controller inputForward="true" processorClass="org.apache.struts.action.RequestProcessor" /> Regards, David -----Original Message----- From: daniel weiss [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 6:07 AM To: [EMAIL PROTECTED] Subject: Probs with ActionError -> generate a blank page after request Hi folks, i got some problems with ActionErrors from Struts. If i tried to add some Error, i will get a blank page without some error msg. code snipplet: ActionErrors errors = validate(form,request,mapping); errors.add("foobar", new ActionError("abc12345")); System.out.println("error status --- : " + errors.isEmpty()); if (!errors.isEmpty()) { saveErrors(request, errors); return mapping.getInputForward(); } ---- i used the module config with multiple modular struts-application. first, i have to send my request to my Action (myAction.do) and init something. If some exception comes up, i would add this as ActionError and show an error on the jsp. Here my action config: <action path="/avr-ekzuordnung" type="de.mycompany.MyAction" name="myFoobarForm" input="input" scope="session" validate="false"> <forward name="input" path="/protected/avr_ekzuordnung.jsp" redirect="false" contextRelative="true"/> </action> I've learned to set the synonym input for my forward, otherwise i will get also a blank page without a error msg. My main problem is the result of a blank page without some errors. Look up at my example code and action config. I'll be thankfull for help Greetings geramaya _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com --------------------------------------------------------------------- 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]