Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Sloan Bowman
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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Thomas Miskiewicz
Hello! > public class PostTest extends Action > { > public ActionForward perform(ActionMapping mapping, > ActionForm form, > HttpServletRequest request, > HttpServletResponse response) > { >return (mapping.findForward("posttest.success")); > } > > } >

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Thomas Miskiewicz
> > > > 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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Marco Tedone
- 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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Marco Tedone
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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Thomas Miskiewicz
> 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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Sloan Bowman
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, >

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Thomas Miskiewicz
Marco, > >> input="/WEB-INF/jsp/postTest.jsp" > > name="postTestForm" > > scope="request" > > validate="true" > > type="com.mycompany.PostTestForm"> > > path="/execute/homePageSetup"/> > > > the input elememe

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Rob
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

Re: Struts doesn't execute my ActionForm.

2003-06-08 Thread Marco Tedone
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

Struts doesn't execute my ActionForm.

2003-06-08 Thread Thomas Miskiewicz
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