, January 18, 2003 4:32 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Can't find servlet
David, how do you do that servlet mapping thing anyway???! I STILL
haven't seen
one servlet using Tomcat to view it with, sad to say!! And, while you
are
hopefully answering me, tell me just how
David, how do you do that servlet mapping thing anyway???! I STILL haven't seen
one servlet using Tomcat to view it with, sad to say!! And, while you are
hopefully answering me, tell me just how exactly I edit the web.xml file for the
servlet name and class tags please.
I have a servlet under WEB-INF/classes
When I hit the context /servlet/servlet-name
it tells me:
servlet/servlet-name is not available.
Does anyone know what this is caused by???
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
What's your web.xml entry for that servlet?
John
-Original Message-
From: David Durst [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:19 PM
To: [EMAIL PROTECTED]
Subject: Can't find servlet
I have a servlet under WEB-INF/classes
When I hit the context /servlet
What's your web.xml entry for that servlet?
John
I suspect that is the issue cause there i non :)
I am migrating from 4.0 and 4.0 didn't seem to need one.
What should it be for just a basic servlet???
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
is not recommended and
is unsupported.
More info:
http://www.mail-archive.com/announcements@jakarta.apache.org/msg00122.html
John
-Original Message-
From: David Durst [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:24 PM
To: [EMAIL PROTECTED]
Subject: RE: Can't find servlet
/security-role
/web-app
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:55 PM
To: 'Tomcat Users List'
Subject: RE: Can't find servlet
In 4.1.12 and up, the default invoker servlet is disabled by default
To: Tomcat Users List
Subject: RE: Can't find servlet
John - You solved another one of my problems that I wasn't even sure
that I
had! (did that make sense??) If I uncomment that servlet-mapping block
for
the invoker my servlet works, if not, my servlet throws the servlet
not
available error
.
John
-Original Message-
From: Geoff Peters [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:19 PM
To: Tomcat Users List
Subject: RE: Can't find servlet
John - You solved another one of my problems that I wasn't
even sure that I had! (did that make sense??) If I
, 2003 5:22 PM
To: Tomcat Users List
Subject: RE: Can't find servlet
Hi,
I didn't read previous messages in your thread, so my answer may be
incorrect / out of context... Why are you repeating all the init-params
that are the same, such as the driver? It's better practice to have
just one context
: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 5:27 PM
To: 'Tomcat Users List'
Subject: RE: Can't find servlet
Looks to me like you are missing all of your servlet mappings. A basic
servlet entry in web.xml looks like this:
servlet
servlet-nameSomeServlet/servlet-name
,
Wilson
- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, January 13, 2003 9:26 PM
Subject: RE: Can't find servlet
Looks to me like you are missing all of your servlet mappings. A basic
servlet entry in web.xml looks like
To: Tomcat Users List
Subject: RE: Can't find servlet
ok, this must be something to do with 4.1+ only, I didn't
include any mappings in Tomcat 4.0.2 and everything worked
fine - as I mentioned before I am in the process of upgrading
from 4.0.2 to 4.1.18, and only now ran into this problem
[mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 4:34 PM
To: Tomcat Users List
Subject: Re: Can't find servlet
John, may I digress slightly? What if Geoff were not using a
servlet but a
bean? I suspect he would have a similar problem, but could
this be solved
by servlet-mapping
Looks to me like you are missing all of your servlet mappings. A basic
servlet entry in web.xml looks like this:
servlet
servlet-nameSomeServlet/servlet-name
servlet-classSomeServlet/servlet-class
/servlet
servlet-mapping
servlet-nameSomeServlet/servlet-name
Hopefully someone who understands your questions will reply!! :) As I
said, nitty-gritty development stuff is out of my range at the moment, I
only know the basics...Hello World type stuff. Most of my days are
spent on the admin side.
John
Well I might be able to give a philosphical
2. Finite control of what IS and ISN'T loaded
- maybe you have classes under WEB-INF/classes that are not servlets,
if so tomcat needs to distinguish between the 2 and only give access
to those that are servlets, and it because a big mess.
Beans are classes under that structure,
2. Finite control of what IS and ISN'T loaded
- maybe you have classes under WEB-INF/classes that are not servlets,
if so tomcat needs to distinguish between the 2 and only give
access to those that are servlets, and it because a big mess.
Beans are classes under that structure, but
18 matches
Mail list logo