I have installed (migrated)  from  jser_mod to jk_mod. I installed and I was
able to run the examples. My problems is when I registered a new <Context>
within Tomcat and try to run a simple sevlet then I get the exception
handling errors. 

The steps i followed were:
Server xml: 

<Context path="/examplesb" 
                 docBase="webapps/examplesb" 
                 crossContext="false"
                 debug="0" 
                 reloadable="true" > 
</Context>

httpd.conf :
Alias /examplesb "E:/Tomcat/webapps/examplesb"
<Directory "E:/tomcat/webapps/examplesb">
    Options Indexes FollowSymLinks
</Directory>
DirectoryIndex index.html 

#Configuration for examplesb
JkMount /examplesb/servlet/* ajp12
JkMount /examplesb/*.jsp ajp12

3. Create an examples directory under webapps
Create an Web-Inf directory under examplesb
Create a web.xml file with the following info: 
<?xml version="1.0" encoding="ISO-8859-1"?>

<!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>
    <servlet>
        <servlet-name>
            HelloWorld
        </servlet-name>
        <servlet-class>
            HelloWorldExample
        </servlet-class>
    </servlet>
</web-app>

-> Create a classes directory the Web-inf
Copy HelloWorldExample.class

Sometimes I get a response and sometimes I don't when I remove the following
files
LocalString.properties


What is the usage of files?  What process and steps should I follow once I
want to register a servlet into Tomcat? 

Thanks in advance


LocalStrings_en.properties

LocalStrings_es.properties

LocalStrings.properties

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to