With most Container's you always want to lock down the WEB-INF
directory from any external access. If you use the container with
lets say apache you would use the Override all deny etc..
to keep users out of this directory. Again though this is coming from
the jsp/Servlet standpoint. With Stru
Hello!
> public class PostTest extends Action
> {
> public ActionForward perform(ActionMapping mapping,
> ActionForm form,
> HttpServletRequest request,
> HttpServletResponse response)
> {
>return (mapping.findForward("posttest.success"));
> }
>
> }
>
> >
>
>
Why? What's wrong with the type?
> > name="postTestForm"
> > scope="request"
> > validate="true"
> > type="com.mycompany.PostTestForm">
> You've definately gone wrong with the type here, the
> type="..." should specify an Action not a
- 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 le
PROTECTED]>
To: "Marco Tedone" <[EMAIL PROTECTED]>; "Struts Users Mailing List"
<[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 5:37 PM
Subject: Re: Struts doesn't execute my ActionForm.
> Marco,
>
> > >> > input
> 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 red
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. And know that you should never has .jsp
pages located in your WEB-INF directory. Just an idea.
--Sloan
Marco,
>
Marco,
> >> input="/WEB-INF/jsp/postTest.jsp"
> > name="postTestForm"
> > scope="request"
> > validate="true"
> > type="com.mycompany.PostTestForm">
> > path="/execute/homePageSetup"/>
> >
> the input elememe
Thomas Miskiewicz wrote:
Hi!
I have a small HTML-Form with 3 textfields. I've implemented the validation
rules in the validate() method of the ActionForm belonging to the html form.
Unfortunately Struts isn't using the ActionForm. Why?
Here my struts-config.xml
"http://jakarta.apache.org/struts
iginal Message -
From: "Thomas Miskiewicz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 1:32 PM
Subject: Struts doesn't execute my ActionForm.
> Hi!
>
> I have a small HTML-Form with 3 textfields. I've implemented the
validati
Hi!
I have a small HTML-Form with 3 textfields. I've implemented the validation
rules in the validate() method of the ActionForm belonging to the html form.
Unfortunately Struts isn't using the ActionForm. Why?
Here my struts-config.xml
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dt
11 matches
Mail list logo