Skip to Content
0
Former Member
Jul 13, 2005 at 07:47 PM

Cannot load the requested servlet

31 Views

Hi,

I'm doing some tests and I can't make a simple Servlet work.

I do a request to:

http://localhost:50000/helloworld/app

and a I get a:

The request can't be processed.

Details: Cannot load the requested servlet [helloworld/servlet/app].

Here is the definition I have in application.xml file:

<module>

<web>

<web-uri>Tapestry.war</web-uri>

<context-root>helloworld</context-root>

</web>

</module>

and this is how web.xml is defined:

<web-app>

<display-name>Tutorial: HelloWorld</display-name>

<servlet>

<servlet-name>app</servlet-name>

<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>

<load-on-startup>0</load-on-startup>

</servlet>

<servlet-mapping>

<servlet-name>app</servlet-name>

<url-pattern>/app</url-pattern>

</servlet-mapping>

</web-app>

I don't know where the /servlet is coming from.

Thanks,

Juan Manuel