----- Original Message ----- 
From: "Thomas Miskiewicz" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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
validation
> error occurs. Usually, the user is redirected back to the JSP page where
> the data was submitted."

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

    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

Marco
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to