[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about Tomcat with Servlet&JSP



Hi,
Following /usr/share/doc/tomcat/README.Debian, when I try
http://localhost:8081/tomcat-examples/servlet/HelloWorldExample
I get the page of Hello World!
But when I try 
http://localhost/tomcat-examples/servlet/HelloWorldExample
I get the following error message,
Forbidden
You don't have permission to access /tomcat-examples/servlet/HelloWorldExample
on this server. 
Does this mean tomcat does not work with apache and mod_jk yet? Would someone tell
me how to fix it? Thanks.

wen> I am new to Tomcat and Servlet&JSP. I want to run Servlet&JSP in my apache Web 
wen> server. The following packages have been installed in my Debian unstable box, 
wen> Tomcat 3.2.2-1
wen> apache 1.3.19-1
wen> jdk1.1 1.1.8v1-3
wen> libapache-mod-jk 3.2.2-1
wen> 
wen> The DocumentRoot of my apache server is /var/www/. Would someone tell
wen> me how to run the examples binding with Tomcat by apache? 



Reply to: