In your web.xml, there should be a section that maps the *.do extension to the action servlet, for example:

    <!-- Action Servlet Mapping -->
    <servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.do</url-pattern>
    </servlet-mapping>

However, if you are running the example, It should be in there.

Pete
 

Jonathan Yang wrote:

The appserver is  tomcat3.2.3. can sucessfully show the index.jsp, and when I click the url, the error appear... It seems that it can't know the *.do, how I can resolve it? Regards,
Jonathan
----- Original Message -----
Sent: Thursday, July 26, 2001 11:37 AM
Subject: RE: newbie question
What steps did you take to get to that point? What web container are you using?
-----Original Message-----
From: Jonathan Yang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 8:35 PM
To: struts
Subject: newbie question
Hi,all      Why can't correctly run the "struts-example"?     When I click the url in index.jsp,it throw the a error likefollowing:    "The requested URL /struts-example/tour.do;jsessionid=5ox6pc4q91    was not found on this server."      why? pls help me, thx. Regards,
Jonathan

Reply via email to