I read Craig R. McClanahan's article "Developing
Applications With Tomcat" coming with Tomcat. The
article gives a sample application also coming with
Tomcat. The sample application uses a servlet mapping.
The servlet mapping works fine with Tomcat. But it
does not work when I use Apache http server with
Tomcat together. Anybody can try it which is used at
the link of a html file to a servlet. Author seggests
me to get help at here. web.xml, httpd.conf, and
tomcat-apache.conf are attached. Can anyone give me a
hand? Your assistance is appreciated.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<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>Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloServlet</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
tomcat-apache.conf
httpd.conf