greetings,

I've been trying to deploy a servlet. It worked out when I enabled the
"invoker" servlet and called my "Hello" servlet like this "
http://localhost:8080/myapp/servlet/Hello";.
but when I redisabled the invoker servlet and inserted the web.xml file in
WEB-INF and tried to call the servlet i got the 404 error.
thats what i included in the web.xml file.
------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class>Hello</servlet-class>
<servrlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>/Hello</url-pattern>
</servrlet-mapping>
</servlet>
</web-app>
---------------------------------------
How can i deploy a servlet without enabling the invoker?
i'm using tomcat 5.5.16, the zip distribution
regards,
Bassel Mannaa

Reply via email to