It's under this directory, /WEB-INF/lib or /WEB-INF/classes of any
webapp that you have.
Then define the servlet for the web app in web.xml .
There are quite a few good examples on this that ship with many jakarta
projects. So download a few and take a peek at it.
Jørgen Ramskov wrote:
Hi
]
cc:
Subject:Re: Servlet directory?
Ahhh, another ArcIMS headache in the making.
I've found that it's easier to just lie to the installer and then delete
whatever it installs for the connector. Then go to the
ArcIMS\connectors\servlet directory and copy
Ahhh, another ArcIMS headache in the making.
I've found that it's easier to just lie to the installer and then delete
whatever it installs for the connector. Then go to the
ArcIMS\connectors\servlet directory and copy the
arcimsServletConnector.war file to the TOMCAT_HOME/webapps directory
And you've provided appropriate servelet and servlet-mapping entries in
your web.xml?
-Michael
- Original Message -
From: Daliso Zuze [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 03, 2002 4:51 AM
Subject: Servlet directory
I have put some servlet
PM
Subject: Re: Servlet directory
And you've provided appropriate servelet and servlet-mapping entries
in
your web.xml?
-Michael
- Original Message -
From: Daliso Zuze [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 03, 2002 4:51 AM
Subject
The way you are trying to access this servlet implies a couple of assumptions:
1. Your servlet is in the default package. That is to say that it exist
in WEB-INF/classes and not some directory deeper inside of that.
2. Your class is all lower case myservlet since that is how it is
written
Thanks, I got it working now, I had misplaced the classes directory.
Daliso
- Original Message -
From: Jacob Kjome [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, August 03, 2002 7:18 PM
Subject: Re: Servlet directory
The way you are trying to access
Adding a context path in server.xml is just one part to it (BTW, in docBase you
might want to use a fully qualified path rather than a relative path).
The 2nd file that you need to edit is uriworkermap.properties file, and add (in
your case)
/myservlets/*=ajp12
You may need to restart both
To: [EMAIL PROTECTED]
Subject: Re: Servlet Directory
Adding a context path in server.xml is just one part to it (BTW, in docBase
you
might want to use a fully qualified path rather than a relative path).
The 2nd file that you need to edit is uriworkermap.properties file, and add
(in
your case
I do this all the time. I assume that the /Work/MyServlets/bin contains
a WEB-INF directory. docBase should be set to the directory which
contains the WEB-INF directory. Tomcat looks in the WEB-INF/classes
directory for any class files.
Match
Richard Scales wrote:
Hi,
I've just installed
t: Tuesday, October 24, 2000 3:22 AM
To: [EMAIL PROTECTED]
Subject: RE: Servlet Directory
The class file has to be in Tomcat's classpath. Where are you putting the
servlet's class file?
-Original Message-
From: Corey A. Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, October
11 matches
Mail list logo