Re: How to add a servlet to a new Webapp

2002-11-29 Thread bido
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

Re: How to add a servlet to a new Webapp

2002-11-29 Thread Steve R. Burrus
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

RE: How to add a servlet to a new Webapp

2002-11-29 Thread Scott Murray
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

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rasputin
* 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

Re: MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread micael
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

Re: MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread smurray
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:

MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread micael
/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

Re: How to add a servlet to a new Webapp

2002-11-28 Thread David Brown
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

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rodrigo Ruiz
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
://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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rodrigo Ruiz
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread mech
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Ron Smits
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,

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
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

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
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