struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Tedone" <>
Subject Re: Struts doesn't execute my ActionForm.
Date Sun, 08 Jun 2003 17:07:21 GMT

----- Original Message ----- 
From: "Thomas Miskiewicz" <>
To: "Struts Users Mailing List" <>
Sent: Sunday, June 08, 2003 6:02 PM
Subject: Re: Struts doesn't execute my ActionForm.

> > 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
> 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
> 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?

    You can have jsp under WEB-INF and it's not a bad practice. Usually you
may want it for security reasons, as everything put under WEB-INF cannot be
accessed directly from clients.

> Thanks
> Tom

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

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

View raw message