Hi,gurus, I am new to Tomcat and Servlet&JSP. I want to run Servlet&JSP in my apache Web server. The following packages have been installed in my Debian unstable box, Tomcat 3.2.2-1 apache 1.3.19-1 jdk1.1 1.1.8v1-3 libapache-mod-jk 3.2.2-1
The DocumentRoot of my apache server is /var/www/. Would someone tell me how to run the examples binding with Tomcat by apache? Thank you so much for your help in advance. Regards, --Wen P.S. The examples binding with Tomcat in the directry of /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/Entries.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/Entries.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/Entry.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/Entry.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/JspCalendar.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/JspCalendar.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/TableBean.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/cal/TableBean.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/checkbox /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/checkbox/CheckTest.clas /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/checkbox/CheckTest.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/colors /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/colors/ColorGameBean.clss /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/colors/ColorGameBean.jaa /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/CookieExample.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/CookieExample.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/dates /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/dates/JspCalendar.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/dates/JspCalendar.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/error /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/error/Smart.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/error/Smart.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/ExampleTagBaseclass /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/ExampleTagBasejava /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/FooTag.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/FooTagExtraInf.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/FooTagExtraInf.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/FooTag.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/LogTag.class /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/LogTag.java /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/ShowSource.clas /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/examples/ShowSource.jav /var/lib/tomcat/webapps/tomcat-examples/WEB-INF/classes/HelloWorldExample.class /usr/share/doc/tomcat/appdev/sample/build.bat /usr/share/doc/tomcat/appdev/sample/build.sh /usr/share/doc/tomcat/appdev/sample/build.xml /usr/share/doc/tomcat/appdev/sample/etc /usr/share/doc/tomcat/appdev/sample/etc/web.xml /usr/share/doc/tomcat/appdev/sample/src /usr/share/doc/tomcat/appdev/sample/src/Hello.java.gz /usr/share/doc/tomcat/appdev/sample/web /usr/share/doc/tomcat/appdev/sample/web/hello.jsp /usr/share/doc/tomcat/appdev/sample/web/images /usr/share/doc/tomcat/appdev/sample/web/images/tomcat.gif /usr/share/doc/tomcat/appdev/sample/web/index.html