I have been developing a servlet application, that runs fine within the
ide (netbeans).
When i deploy the war file to tomcat the application works fine. the
context.xml file lists the servlet context as /servlet/ICTHelpdesk
and the manager app lists the correct context and everything works
fine,
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
Read section carefully. The warning at the end of the section describes your
symptoms.
Doug
--snip--
When i deploy the war file to tomcat the application works fine. the
context.xml file lists
Hello,
I'm having problems with the ServletContext object. When I acquire the context, it
just gets the path to my webApp, right? The servlet will then know what webApp it's
under. Ok, so I tried to make it work with a servlet to forward to another page.
Now the servlet is mapped as
Did you try http://localhost:8080/greeting/GreetingServlet as the URL?
Does anyone know how /servlet/ got into the response URL?
What is the value in the FORM tag's ACTION attribute?
--- Noel
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Hi all,
I am using TC 4.1.12 on Win2K as it came, with invoker servlet commented out in the
%CATALINA_HOME%\conf\web.xml file.
I have the following added to the %CATALINA_HOME%\conf\server.xml file:
Context path=/greeting docBase=greeting debug=0 reloadable=true
crossContext=true/
I
I'm trying to use my first servlet (named MyFirstServlet) in a context
that I created (called graphics). It is my understanding that the servlet
should go in graphics/WEB-INF/classes and should be invoked in a browser
via graphics/servlet/MyFirstServlet. This for me doesn't work. In my
browser
, September 27, 2002 1:08 PM
Subject: Servlet context problem?
I'm trying to use my first servlet (named MyFirstServlet) in a context
that I created (called graphics). It is my understanding that the
servlet
should go in graphics/WEB-INF/classes and should be invoked in a browser
via graphics/servlet
Did you restart tomcat after you created the new context?
Have you looked at the logs in the logs directory?
-Original Message-
From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:10 AM
To: Tomcat Users List
Subject: Re: Servlet context problem