Hmm, you're mixing up that /servlet story.
Better remove everything named servlet from
your environment... It is only confusing.
Create app.xml, put the Context path /
or /app, and then /FCLxyzServlet or
/app/FCLxyzServlet are the correct URLs.
Does that make any sense?
Georg
Yes
]
Sent: Sunday, January 22, 2006 9:19 PM
To: Tomcat Users List
Subject: RE: (newb) Tomcat servlet mapping problem
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
I have. The servlets I am trying to deploy (err, map?) do not
have a package
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
that Tomcat can see them and execute them?
Not that I'm aware of, since the application code is in violation of the
spec. Others
On 1/23/06, Darren Hall [EMAIL PROTECTED] wrote:
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
that Tomcat can see them and execute them?
Not that I'm aware
] wrote:
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
that Tomcat can see them and execute them?
Not that I'm aware of, since the application code
: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
that Tomcat can see them and execute them?
Not that I'm aware of, since the application code is in violation
On 1/23/06, Darren Hall [EMAIL PROTECTED] wrote:
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
that Tomcat can see them and execute them?
As far as I can see
Users List'
Subject: RE: (newb) Tomcat servlet mapping problem
On 1/23/06, Darren Hall [EMAIL PROTECTED] wrote:
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Is there a way I can map these servlets (in the web.xml file) so
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
So, my question is... why am I getting the ClassDefNotFound
error, and how do I correct it (or can I, given my current
configuration)?
Simplistic packageless servlets may well work, but real
url-pattern/simple-servlet/url-pattern
should be
url-pattern/simple-servlet/*/url-pattern
Georg Sauer-Limbach wrote:
Darren,
if I look at your original configuration
servlet-mapping
servlet-nameSimpleServlet/servlet-name
url-pattern/simple-servlet/url-pattern
Georg,
if I look at your original configuration
servlet-mapping
servlet-nameSimpleServlet/servlet-name
url-pattern/simple-servlet/url-pattern
/servlet-mapping
---snip---
Context path=/simple-servlet docBase=SimpleServlet
reloadable=true debug=99
then, if
Mike Sabroff wrote:
url-pattern/simple-servlet/url-pattern
should be
url-pattern/simple-servlet/*/url-pattern
Does not need to. You can specify paths without
wildcards, which then only match that very url.
The whole story about servlet mappings (which is
quite short actually) is concisely
Darren Hall wrote:
(I wasn't sure how to configure the ResourceBundle in the code. I copied all
the files the resource bundle seemed to be referring to into my /servlet
directory along with the compiled HelloWorldServlet code, but it still
complained on execution that it couldn't locate the
, January 21, 2006 9:34 AM
To: Tomcat Users List
Subject: Re: (newb) Tomcat servlet mapping problem
From: Darren Hall [EMAIL PROTECTED]
Date: 2006/01/20 Fri PM 02:28:22 EST
To: users@tomcat.apache.org
Subject: (newb) Tomcat servlet mapping problem
I'm running Tomcat 5.0.30 and Apache 2.0 (both
Date sent: Sun, 22 Jan 2006 19:55:36 -0500
From: Darren Hall [EMAIL PROTECTED]
Subject:RE: (newb) Tomcat servlet mapping problem
To: 'Tomcat Users List' users@tomcat.apache.org
Send reply to: Tomcat Users List users
at all) so it makes fixing this problem that much more fun/challenging!
-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 8:37 PM
To: Darren Hall; 'Tomcat Users List'
Subject: RE: (newb) Tomcat servlet mapping problem
Date sent: Sun
: RE: (newb) Tomcat servlet mapping problem
Have you tried accessing the servlet directly via tomcat yet?
If going through tomcat itself gives an error then work on fixing that
error first before worrying
about mod_jk.
-Steve O.
I had not, but that was an excellent idea (kinda upset I
for this app?
(Please forgive my Tomcat classloading ignorance.)
Darren
-Original Message-
From: Darren Hall [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 8:44 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
Have you tried
, January 23, 2006 9:43 AM
Subject: RE: (newb) Tomcat servlet mapping problem
Have you tried accessing the servlet directly via tomcat yet?
If going through tomcat itself gives an error then work on fixing that
error first before worrying
about mod_jk.
-Steve O.
I had
From: Darren Hall [mailto:[EMAIL PROTECTED]
Subject: RE: (newb) Tomcat servlet mapping problem
I have. The servlets I am trying to deploy (err, map?) do not
have a package associated with them.
Not sure if your first sentence meant you found the problem, but just to
make sure it's clear
From: Darren Hall [EMAIL PROTECTED]
Date: 2006/01/20 Fri PM 02:28:22 EST
To: users@tomcat.apache.org
Subject: (newb) Tomcat servlet mapping problem
I'm running Tomcat 5.0.30 and Apache 2.0 (both are running fine and without
errors).
I've connected them using mod_jk2, and I can see
21 matches
Mail list logo