Hi,
I was trying to run the "myapp" servlet example. The examples provided
in the webapps directory seem to run fine but when i try the "myapp"
example by deploying. compiling and so on as illustrated, I run into
the following error:
type Status report
message /myapp/
description The requested resource (/myapp/) is not available.
I checked up the logs and have no trace of any error. The web.xml is as follows:
<display-name>Hello, World Application</display-name>
<description>
This is a simple web application with a source code organization
based on the recommendations of the Application Developer's Guide.
</description>
<servlet>
<servlet-name>HelloServlet</servlet-name>
<servlet-class>mypackage.Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/myapp</url-pattern>
</servlet-mapping>
I tried deploying using the front end and also by copying into
"$CATALINA_HOME/webapps" but to no avail. When I log into the manager
module, I lists this servlet but when i try viewing it as
http://localhost:8080/myapp/ it gives me the above error. Please
help me get my first servlet started with tomcat. By the way I am
using Windows 2000.
Thanks,
Prateek
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]