This shouldn't be too hard to solve. Post the associated and
from your web.xml -the one under webapps/study.
On Friday, November 29, 2002, at 05:53 PM, Steve R. Burrus wrote:
Hello David Brown, I am getting the very same 404 server error msg.
when I try to run/execute a VERY BASIC JSP, f
Hello David Brown, I am getting the very same 404 server error msg. when I try to
run/execute a VERY BASIC JSP, for the current date and time!!! I need some special
guidance from u re. how to edit the web.xml file to set the context variable!! And,
would you also tell me how to write the and
Rasputin [mailto:[EMAIL PROTECTED]]On Behalf Of Rasputin
Sent: Thursday, November 28, 2002 5:24 PM
To: Tomcat Users List
Subject: Re: How to add a servlet to a new Webapp
* Curley, Thomas <[EMAIL PROTECTED]> [1114 14:14]:
> If anyone can explain the web.xml file in plain lang / what filters
* Curley, Thomas <[EMAIL PROTECTED]> [1114 14:14]:
> If anyone can explain the web.xml file in plain lang / what filters do and how to
>get rid of the invoker then please do
See the link to chapter 5 at http://www..moreservlets.com
--
Rasputin :: Jack of All Trades - Master of Nuns
--
To uns
You just have to either turn the invoker servlet back on (with security
problems, if it is not yet fixed) or use the standard xml way of getting
access to the classes.
At 04:15 PM 11/28/2002 -0500, you wrote:
i am having the same problem described in this thread
what does this (the proposed sol
i am having the same problem described in this thread
what does this (the proposed solution) mean:
The reason is that the invoker servlet is not turned off for the
examples. Okay? Check the code and the xml.
I am migrating from 4.0.3 to 4.1.12.
Thanks,
Scott
--
To unsubscribe, e-mail:
/servlet/com.wrox.projsp.ch03.TestServlet works
??
Thomas
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:04
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
I believe that servlet has been disabled by default
Curley, Thomas writes:
Hi All,
Using Tomcat 4.1.12 on Win 2K
I am getting a 404 error when I try to create a new webapp and add a very basic servlet. The servlet works if I create the package structure within the examples WEB-INF/classes. Here are the steps:
1. created webapps/study
2. cr
Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 3:14 PM
Subject: RE: How to add a servlet to a new Webapp
Hi,
this is now working thanks to you all.
Attached is the web.xml. As Rodrigo stated I pruned it down and it turns out
that at a min I need the 'Servl
://localhost:8080/study/servlet/TestServlet
Regards
Jim.
> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 14:22
> To: Tomcat Users List
> Subject: RE: How to add a servlet to a new Webapp
>
>
> Jim,
>
> many
Jim,
many thanks
NB: - presume you uncommented the invoker in conf/web.xml to get this working
Thomas
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 14:08
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
rid of the invoker then please do
Thomas
-Original Message-
From: Curley, Thomas
Sent: 28 November 2002 13:48
To: Tomcat Users List
Subject: RE: How to add a servlet to a new Webapp
thanks - will try
-Original Message-
From: Ruiz [mailto:[EMAIL PROTECTED]]
Sent: 28 November
tServlet
/TestServlet
and this URL:
http://localhost:8080/study/TestServlet
Regards
Jim.
> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:41
> To: Tomcat Users List
> Subject: RE: How to add a
thanks - will try
-Original Message-
From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:46
To: Tomcat Users List
Subject: Re: How to add a servlet to a new Webapp
If you copied the examples web.xml, then you must have a lot of references
to servlet classes and
server
:-)
Hope it helps
- Original Message -
From: "Curley, Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:37 PM
Subject: RE: How to add a servlet to a new Webapp
> Jim - its in both webapps u
Here the study.jar file - cd to webapps and jar -xvf .
-Original Message-
From: Curley, Thomas
Sent: 28 November 2002 13:37
To: Tomcat Users List
Subject: RE: How to add a servlet to a new Webapp
Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet
Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:35
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
You mention in your first pos
st
> Subject: RE: How to add a servlet to a new Webapp
>
>
> Correct ! - I origionally copied the examples web.xml
>
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:28
> To: 'Tomcat Users List'
&g
Correct ! - I origionally copied the examples web.xml
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:28
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
Thomas has got a mapping to the invoker servlet in t
Thomas has got a mapping to the invoker servlet in the web.xml file he
posted so it should not be a problem.
> -Original Message-
> From: mech [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:25
> To: 'Tomcat Users List'
> Subject: RE: How to add
p.ch03.Te
> stServlet works
>
>
> ??
>
> Thomas
>
>
> -Original Message-
> From: Collins, Jim [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:04
> To: 'Tomcat Users List'
> Subject: RE: How to add a servlet to a new Webapp
>
&g
If I understand everything correctly :) the invoker servlet is by
default disabled. I had to add the following to my web.xml to be able to
access servlets that are not defined in the web.xml:
invoker
/servlet/*
then it worked for me :)
Ron
On Thu, 2002-11-28 at 14:16,
Jim,
I just took the examples web.xml and added the mapping - here it is
-Original Message-
From: Collins, Jim [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 13:18
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
Can you post yo
Can you post your web.xml?
> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 13:16
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: How to add a servlet to a new Webapp
>
>
> No -
> The requested resou
No -
The requested resource (/study/TestServlet) is not available.
Note
I have just added the servlet mappings into examples web.xml and I can also now access
the TestServlet in the examples context using either
http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.TestServlet
or
http://lo
13:04
To: 'Tomcat Users List'
Subject: RE: How to add a servlet to a new Webapp
I believe that servlet has been disabled by default in 4.1.12 for security
reasons. That is probably why you can't use:
http://localhost:8080/study/servlet/TestServlet
Jim
> -Original M
I believe that servlet has been disabled by default in 4.1.12 for security
reasons. That is probably why you can't use:
http://localhost:8080/study/servlet/TestServlet
Jim
> -Original Message-
> From: Curley, Thomas [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 12:58
> To: [EMAIL PR
27 matches
Mail list logo