Here is my struts-config file: File name: struts-config-test Content: <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"> <struts-config> <form-beans> <form-bean name="registerForm" type="ch03.RegisterForm"/> </form-beans>
<action-mappings> <action path="/register" type="ch03.RegisterAction" name="registerForm"> <forward name="success" path="/success.html" /> <forward name="failure" path="/failure.html" /> </action> </action-mappings> </struts-config> Could you figure out something???? Regards ayusman -----Original Message----- From: Simons Kevin [mailto:[EMAIL PROTECTED] Sent: Monday, August 08, 2005 11:02 PM To: Struts Users Mailing List Subject: Re: Struts Basic problem. Can you post the struts config xml file? I had this problem in the beginning too. Now I am stuck on that other problem I posted here. I am also a newbie. ----- Original Message ----- From: "Ayusman dikshit" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Monday, August 08, 2005 7:27 PM Subject: Struts Basic problem. > > Hi List, > I am a new bee to Struts. > I am following a book for struts. > I obtained this error while trying to follow the tutorial, may be result > of my experimentation. > Could you give me any idea what mistakes I might have made > The following is the error I am getting. > > I am using Tomcat 5.0 > Struts 1.1 > > root cause > > javax.servlet.jsp.JspException: Cannot retrieve mapping for action > /Lookup > org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810) > > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506) > > org.apache.jsp.index_jsp._jspx_meth_html_form_0(index_jsp.java:140) > org.apache.jsp.index_jsp._jspService(index_jsp.java:98) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja > va:311) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > > Thanks in advance > Ayusman > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this e-mail > or its contents to any other person and any such actions are unlawful. > This e-mail may contain viruses. Infosys has taken every reasonable > precaution to minimize this risk, but is not liable for any damage you may > sustain as a result of any virus in this e-mail. You should carry out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the right to monitor and review the content of all messages sent to or > from this e-mail address. Messages sent to or from this e-mail address may > be stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 4/08/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 4/08/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]