Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default JSPs work but Servlets Fail

    JSPs are working just fine using the Tomcat 4 install scripts. I cannot get Servlets to work though. They return a 404 The requested resource (/servlets/MyServlet) is not available. I'm at a loss.

    I'm guessing it has something to do with either the server.xml or web.xml file, but I don't see anything wrong.

    These entries are there:

    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13

    I'm trying to access the servlet using either:

    http://www.domain.com/servlet/MyServlet

    or

    http://www.domain.com/servlets/MyServlet


    The servlet is located in the /home/username/public_html/servlet directory is has been chmod 755.

    Anyone have any ideas?

    Thanks,
    jaz

  2. #2
    kt
    kt is offline
    Member
    Join Date
    May 2002
    Posts
    40

    Default

    I know I am having the same problem....

Similar Threads & Tags
Similar threads

  1. MySQL, Fail Over and Server Cluster. Can they work ?
    By jorj1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-07-2005, 03:32 PM
  2. :fail: does not work!!
    By xWho in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-10-2004, 03:04 PM
  3. Blackhole & Fail dont work!
    By ozzi4648 in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 10-22-2002, 03:59 AM
  4. Has anyone gotten Java Servlets to work?
    By jsteel in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-08-2002, 06:56 PM
  5. JSP Plugin revisted.. Servlets doesn\'t work?
    By acetate in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-23-2002, 02:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube