I have a problem accessing servlets when my application is being run over the Internet. When the application tries to load the servlet a Page Cannot be Found page is displayed. However when I reference the site through an intranet address the servlets function perfectly.
I am running IIS and using an ISAPI redirect to pass all the relevant requests to Jakarta Tomcat (Version 4.1.24). I have a feeling that it is something to do with the way I have setup my web.xml file (at the application level) as all of the servlets in the examples application (packaged with Jakarta Tomcat) run correctly.
The contents of my web.xml file are as follows
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"
<web-app>
<display-name>DIY WEB</display-name>
<description>
DIY Web.
</description>
<!-- Define servlets that are included in the DIY application -->
<servlet>
<servlet-name>Director</servlet-name>
<servlet-class>Director</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Director</servlet-name>
<url-pattern>/Director</url-pattern>
</servlet-mapping>
</web-app>
Also please note that I have uncommented the servlet invoker section in the web.xml file located in the conf directory.
Any help would be greatly appreciated
I am running IIS and using an ISAPI redirect to pass all the relevant requests to Jakarta Tomcat (Version 4.1.24). I have a feeling that it is something to do with the way I have setup my web.xml file (at the application level) as all of the servlets in the examples application (packaged with Jakarta Tomcat) run correctly.
The contents of my web.xml file are as follows
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"
<web-app>
<display-name>DIY WEB</display-name>
<description>
DIY Web.
</description>
<!-- Define servlets that are included in the DIY application -->
<servlet>
<servlet-name>Director</servlet-name>
<servlet-class>Director</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Director</servlet-name>
<url-pattern>/Director</url-pattern>
</servlet-mapping>
</web-app>
Also please note that I have uncommented the servlet invoker section in the web.xml file located in the conf directory.
Any help would be greatly appreciated