tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From removeps-c...@yahoo.com
Subject not able to access URL in 2nd app in 7.0.23
Date Wed, 25 Jan 2012 02:49:06 GMT
In my webapps folder there are two folders: ROOT, myapp.  ROOT is the default app.

In myapp/WEB-INF/web.xml there is

  <servlet>
    <servlet-name>MyServlet</servlet-name>
    <servlet-class>package.MyServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>MyServlet</servlet-name>
    <url-pattern>/folder/action.do</url-pattern>
  </servlet-mapping>

When I go to http://host/myapp/folder/action.do in Tomcat 7.0.22 it invokes myapp, MyServlet.
 Even some versions of Tomcat 6.x did this.

But in Tomcat 7.0.23 it generates 404 page not found.

Any idea what I can do?

I'm gonna check if it works in 7.0.25.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message