Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Servlet configuration in Tomcat 4.1

Discussion in 'General Discussion' started by jolly, Aug 26, 2004.

  1. jolly

    jolly Member

    Dec 5, 2002
    Likes Received:
    Trophy Points:
    I am using Tomcat 4.1.29 on fedora. JSP is working fine but there is problem in configuring servlet. In web.xml
    I have uncommented
    <!-- The mapping for the invoker servlet -->

    In server.xml added the virtual host.
    In httpd.conf added

    CustomLog domlogs/ combined
    ScriptAlias /cgi-bin/ /home/allhope/public_html/cgi-bin/

    <IfModule mod_jk.c>
    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13
    <Location "/examples/WEB-INF/">
    AllowOverride None
    deny from all

    I created WEB-INF folder and inside web-inf Classes. Uploaded the class files in it. Now when I go to it don't work.

    Do I have to make any changes in

    Please suggest me where I am going wrong.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice