You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Derry <dd...@acm.org> on 2002/05/30 19:36:30 UTC
Re: javax.servlet.jsp.JspException: No getter method for property name ofbeanorg.apache.struts.taglib.html.BEAN
----- Original Message -----
From: <Ka...@i2.com>
> Just started off with Struts..
> I had a doubt though. the action attribute on form points to checkLogin.do
> which i entered just for namesake.
> am not planning to submit this form.
> So i have something like this
>
> <action path="/checkLogin"
> type="com.i2.actions.CheckLoginAction"
> name="logonForm"
> scope="request"
> validate="false">
> <forward name="failure" path="/logon.jsp"/>
> <forward name="success" path="/wel.do"/>
>
> </action>
>
> <action path="/wel"
> type="com.i2.actions.WelAction"
> name="WelForm"
> scope="request"
> validate="false">
> <forward name="failure" path="/logon.jsp"/>
> <forward name="success" path="/wel.jsp"/>
>
> </action>
>
> I have a <form-bean> tag for mapping the "WelForm" value.
>
>
> After the user enters the user/pwd on the login screen, i authenticate and
> if thinsg are fine..the success url is
> wel.do. SO i guess struts now looksup for the "/wel"
> invokes the WelAction class which populates the WelForm class for
> rendering.
> (so i basically execute 2 action classes on 1 submit b4 finally forwarding
> it to a jsp),
>
> On success, it finally forward the request to wel.jsp, which has to render
> it on the browser.
>
> I wanted to confirm this so that i can be sure of the way struts works.
>
> thanks,
> karthik.
>
Sounds like you've got it Karthik! Happy Struttin'!
Dave
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>