Results 1 to 2 of 2
  1. #1
    teckygamer is offline Member
    Join Date
    Aug 2010
    Posts
    9
    Rep Power
    0

    Default Apache 1.3 Servlet not found

    I have installed an apache server onto a redhat linux distribution. My web application is within /var/www/html. I have edit the httpd.conf so that the default server page in my index.jsp. All client side validation is working.

    However when submitting the form, i get tthe error server not found. I packaged my app within a .war then unpackaged it within the var/www/html. Do i need the servlet to be of the .java extension and not .class extension while running server side?

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    no, unpacking the war file into /var/www/html is not a servlet container, that is apache http server document root.

    you need to have tomcat servlet container, and have the war file unpacked into tomcat, and then if you want to use apache as the front end, have mod_jk installed and configured in apache to JKMount *.jsp to the application where it is unpacked in your tomcat webapps.

Similar Threads

  1. Servlet CLASSPATH for Apache
    By fishman in forum Java Servlet
    Replies: 3
    Last Post: 07-02-2010, 03:52 PM
  2. id not found in servlet
    By kondiweyane in forum Java Servlet
    Replies: 20
    Last Post: 01-07-2010, 08:59 AM
  3. Replies: 1
    Last Post: 12-02-2008, 01:23 AM
  4. javax.servlet.ServletException: No collection found
    By pushpendra21only in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-18-2008, 09:07 AM
  5. Error: javax.servlet.ServletException: Column not found
    By barney in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2007, 08:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •