> Hi,
> 
> I'm very new to JSP, Java and struts. How to instantiate LoginAction
> class without using a form. I've an "action" to do in the jsp file and
> defined what <action> to do in the strut-config.xml file. Earlier in
> our application, the LoginAction gets instantiated automatically once
> the loginForm has the data. Now I'm not using the loginForm to get the
> User info, instead we use a different login mechanism. I thought
> "/login" action should automatically instantiate LoginAction class,
> but it is not doing that. Any help would be appreciated.
> 
> my jsp file contains this line:.
> 
> <html:link action="/login" >
> 
> My struts-config.xml is as below. Is this correct?
> 
> <action
> path="/login"
> type="com.cingular.datagarage.struts.LoginAction"
> scope="request"
> validate="false">
> <forward name="SUCCESS" path="/jsp/base/MersyLayout.jsp" />

Reply via email to