Results 1 to 2 of 2
Thread: Apache 1.3 Servlet not found
- 09-05-2010, 02:49 PM #1Member
- Join Date
- Aug 2010
- Rep Power
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?
- 09-06-2010, 03:16 AM #2
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.
- By fishman in forum Java ServletReplies: 3Last Post: 07-02-2010, 03:52 PM
- By kondiweyane in forum Java ServletReplies: 20Last Post: 01-07-2010, 08:59 AM
- By StewS in forum Java ServletReplies: 1Last Post: 12-02-2008, 01:23 AM
- By pushpendra21only in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 11-18-2008, 09:07 AM
- By barney in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 08-07-2007, 08:20 AM