Your web.xml says the URL is: /Login

You are requesting in your webbrowser:
http://myserver/naccrrajsp/servlet/naccrra.servlets.LoginServlet

And you jk config looks ok.

So ask for in your webbrowser:
http://myserver/naccrrajsp/Login

Your other syntax looks like it wants to use the invoker, a very bad thing:
http://jakarta.apache.org/tomcat/faq/misc.html#invoker

-Tim


David OBrien wrote:


I'm having a bit of a crisis on a web app i'm trying to setup using mod_jk and apache
I get the following 404 error:


type Status report
message /naccrrajsp/servlet/naccrra.servlets.LoginServlet
description The requested resource (/naccrrajsp/servlet/naccrra.servlets.LoginServlet) is not available.


Some Information relevant to the installation:

Web Application Root on server:
/naccrraware/tomcat/webapps/naccrrajsp

Actual Servlet lives at
/naccrraware/tomcat/webapps/naccrrajsp/WEB-INF/classes/naccrra/servlets/LoginServlet.class



Using the Following as the web.xml in /naccrraware/tomcat/webapps/naccrrajsp/WEB-INF

--------------------------------------------
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
<web-app>
<servlet>
<servlet-name>LoginServlet</servlet-name>
<servlet-class>naccrra.servlets.LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>LoginServlet</servlet-name>
<url-pattern>/Login</url-pattern>
</servlet-mapping>
</web-app>
------------------------------------------------


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



Reply via email to