tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: not able to access URL in 2nd app in 7.0.23
Date Wed, 25 Jan 2012 08:55:30 GMT
On 25/01/2012 02:49, removeps-code@yahoo.com wrote:
> 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?

What do the log files report, during application startup and when you
try to access the page?


p

> 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
> 


-- 

[key:62590808]


Mime
View raw message