Yes, i have written it correct way...if i am not wrong. Please have a look at following struts.xml file
<package name="secure" namespace="/secure" extends="struts-default"> <action name="login" class="secure.Login" > <result name="success">my.jsp</result> <result name="error">Login.jsp</result> </action> </package> now here the URL is like this: "~/secure/login.action", Isn't it ? and the code in jsp file is as: <s:form action="login" namespace="/secure" method="execute"> <s:textfield key="userName" label="Username" value="rahul"/> <s:textfield key="userPwd" label="Password" value="rahul"/> <s:submit/> </s:form> The execute method is executed successfully...In console i got the provided username and password field values. But still it gives me error... I have not understand whats wrong in this code ? Rahul Saeed Iqbal-2 wrote: > > It says secure.Login not just login. Case Sensitive too. > > > > -- > Saeed Iqbal > Independant Consultant > J2EE - Application Architect / Developer > > -- View this message in context: http://old.nabble.com/Not-Able-to-call-Action-tp15878011p27354656.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org