<stein:ben> Anyone? Anyone? Anyone? </stein:ben>
>From: "Craig Tataryn" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Help me shake the cobwebs out... >Date: Thu, 29 Aug 2002 17:52:33 -0500 > >Alrighty, really have been out of the loop for the last year w.r.t Struts, >last time I used it was pre-1.0. However, I will be using it on a project >shortly and I have been brushing up. Can you help me with this query? I >have set a simple demo where I have made a loginUser Action, who's input >attribute is "/form/loginUser.jsp". Inside the execute method of this >action, I simply return mappings.getInputForward(); > >Fair enough typically in my controller I might have some logic to figure >out if the user was valid, and if they are I would forward them to some >other handler, if they were invalid I would set some error messages and >then do what I did above with the getInputForward() method. > >However, I then did this in my browser: > >http://localhost:8080/mywebapp/form/loginUser.jsp and it worked! How did >the Struts controller know what form bean to create for that loginUser.jsp? > Is it because I have loginUser.jsp as my input attribute of the action? >What if I wanted to use the same input view (jsp file) for two separate >handlers? How would it decide then which form bean to create? > >Also, can someone give me the Coles notes version on: >1) DnyaForms >2) Plugins > >Thanks! > ></tataryn:craig> >Craig W. Tataryn >Programmer/Analyst >Compuware > >_________________________________________________________________ >Join the world’s largest e-mail service with MSN Hotmail. >http://www.hotmail.com > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > Craig W. Tataryn Programmer/Analyst Compuware _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>