hi,
I would like to run
java(
jsp ,
servlet and javabean) useing apache
webserver on Linux platform.
For that I have installed Tomcat3.3 and mod_jk.
I am using apache1.3 version which has DSO , EAPI support and perl 5 has
already installed.Using apxs I have made mod_jk.so and kept at
$APACHE_HOME/libexec.
Now I have include mod_jk.conf file in httpd.conf. and I am also including
the following line in the httpd.conf
LoadModule jk_module libexec/mod.jk.so
AddModule mod_jk.c
JkWorkersFile $TOMCAT_HOME/conf/workers.properties
JkLogfile $APACHE_HOME/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M :S $Y]"
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
my class file is at /var/www/servlet and jsp file is at /var/www/jsp.....
Following line I have change in my server.xml which is under $TOMCAT_HOME/conf
<Context path="/servlet" docBase="/var/www/servlet" crossContext="false" debug="0" reloadable="true"/>
<Context path="/servlet" docBase="/var/www/servlet" crossContext="false" debug="0" reloadable="true"/>
while calling from brouser I am using
http://Ipaddress/jsp/file name and
this is working fine
but In case of class file for which I am using
http://Ipaddress/servlet/file name is not working
my Question is what are the changes that I have to do( in server.xml or any
where)to run servlet/class files....
Please give me suggestion....
Thank u.
saumitra