struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Miskiewicz" <thomas.miskiew...@web.de>
Subject Re: Struts doesn't execute my ActionForm.
Date Sun, 08 Jun 2003 17:02:01 GMT
> I am new to Struts and learning myself but from what I have read the
> input attribute is for validation if the form/Action fails it will
> send it back to the view.
My book states:
"input - Used to define where the user should be redirected, if a validation
error occurs. Usually, the user is redirected back to the JSP page where
the data was submitted."

And this is exactly what I'm doing. I want to send the user back to the
PostTest.jsp form to let him correct his entry and I want to tell him which
part is wrong showing error messages.

And know that you should never has .jsp
> pages located in your WEB-INF directory. Just an idea.

I'm new to Struts too. But this is what I got from the Professional
Struts Applications from WROX. They've placed the the jsp directory
containing all jsps unter WEB-INF. BTW I wouldn't know what's the
trouble with that would be?

Thanks
Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message