on 07-13-2005 8:47 PM
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
Hi,
I want the servlet org.apache.tapestry.ApplicationServlet to be called when I do a request to http://localhost:50000/helloworld/app
Regards,
Juan Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your servlet referrencing "Hello World" seems not to be present. Instead app is being referrenced as
org.apache.tapestry.ApplicationServlet
I do not believe that this would be what you intended.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.