RE: web.xml error-page tag problem

2003-07-11 Thread Lance Smith
al Message----- From: Lance Smith [mailto:[EMAIL PROTECTED] Sent: 11. juli 2003 17:14 To: Tomcat Users List (E-mail) Subject: web.xml error-page tag problem I have the following defined in me web.xml file. The problem is that no mater what Exception is thrown ExceptionHandler.jsp is used. If I comme

web.xml error-page tag problem

2003-07-11 Thread Lance Smith
ial page. Thanks in advance. RouterApi.RouterNotUpException /RouterNotUp.jsp java.lang.Throwable /ExceptionHandler2.jsp 500 /ExceptionHandler.jsp ---- Lance Smith 972-

RE: Startup Problem - Win2K - How To Get Stacktrace?

2002-11-21 Thread Lance Smith
Tomcat doesn't require Ant unless you are building it. Have you looked at the log files in CATALINA_HOME\logs for any ideas. The other option is to open a command window, cd to CATALINA_HOME\bin and run startup. regards, Lance Smith -Original Message- From: Douglas Reames [mailto:[

RE: Need Help ASAP w. Tomcat install!

2002-09-29 Thread Lance Smith
stallation folder is in the apache group (1 space) folder!! How do I niftily "work around" this problem anyway?! **** *** --- Lance Smith <[EMAIL PROTECTED]> wrote: > Steven, > Couple of things to

RE: Need Help ASAP w. Tomcat install!

2002-09-29 Thread Lance Smith
working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assis

RE: A question about jni used in tomcat!

2002-09-02 Thread Lance Smith
yes, tomcat does support it. Can you get it to work outside of Tomcat. Once that is done try moving it into Tomcat. If you still have trouble we need more information, maybe the error you are getting. Lance -Original Message- From: Struts [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30

RE: LoadOnStartup woes

2002-07-08 Thread Lance Smith
Christopher, The init method of the servlet must return for Tomcat to continue and initialize the context. Since Tomcat holds the reference to the servlet I think it is safe just to go ahead and return so long as you're thread is self sustaining. That way Tomcat can call the destroy method on you'

RE: Is Tomcat vulnerable to this exploit?

2002-07-05 Thread Lance Smith
I tried with Tomcat4.0.2 on win2000 and was unable to do. Tomcat seems to be restricting it:) -Original Message- From: George McKinney [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 2:27 PM To: 'tomcat user list' Subject: Is Tomcat vulnerable to this exploit? On jGuru, I saw men

RE: problem with jsessionid

2002-05-28 Thread Lance Smith
Per Craig's post yesterday session ids are *path* parameters, not *query* parameters. Designated by the separation using a ';' instead of '?'. This is per the servlet specification so that sessions can be tracked on clients that don't have cookies turned on. You probably should look at finding a

RE: JDom in java-xml-pack for Sun??

2002-05-06 Thread Lance Smith
Thought it was in the 1.4.0 SDK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 9:40 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: JDom in java-xml-pack for Sun?? Does anybody know when JDom API will be add to The Java-Xml-pack for

Re: Which Apache-To-Tomcat Connector

2002-04-24 Thread Lance Smith
Using: Apache 2.0.35 and Tomcat 4.0.3 on Red Hat 7.2. Say it isn't so: There is no way to serve static pages from Apache using mod_webapp? Can anyone confirm/deny this? Lance > > The major difference between the two modules, other than this, is that > > mod_jk allows static content to be serve

RE: RMI Server in Tomcat problems

2002-04-12 Thread Lance Smith
High Weber, try System.setSecurityManager(new RMISecurityManager("fully qualified name of you're security file")); Lance -Original Message- From: Jürgen Weber [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 7:33 AM To: [EMAIL PROTECTED] Subject: RMI Server in Tomcat problems Hi

RE: Servlet mapping question

2002-03-26 Thread Lance Smith
this works? I will paly with it more and post. > Thanks a lot, > Sanjay > --- Lance Smith <[EMAIL PROTECTED]> > wrote: > > Sanjay, > > Try > > > http://localhost:8080//search/SearchServlet > > > > where is the directory name under > webapps.

RE: Servlet mapping question

2002-03-25 Thread Lance Smith
been this mapping has not worked: SearchServlet /search/SearchServlet If I try to call this- http://localhost:8080/search/SearchServlet it fails uneless I make mapiing to /search/*. Thanks Sanjay --- Lance Smith <[EMAIL PROTECTED]> wrote: > Then according to Craig&#

RE: Servlet mapping question

2002-03-22 Thread Lance Smith
Then according to Craig's previous email you need to-do something like this: SearchServlet /search/SearchServlet SearchServlet2 /search/SearchServlet2 then you should reach it with http:/.../search/SearchServlet or http://.../search/SerchServlet2 for yo

RE: Servlet mapping question

2002-03-22 Thread Lance Smith
THANK YOU!!!, Lance -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:42 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Servlet mapping question On Fri, 22 Mar 2002, Sean LeBlanc wrote: > > To add even more to this - I ca

RE: Servlet Deploy Problem Help

2002-03-22 Thread Lance Smith
vlets with /search/hello/servletalias. How can I achieve that. Thanks Sanjay --- Lance Smith <[EMAIL PROTECTED]> wrote: > Now try http://localhost:8080/search/hello/abc > it should work also. > getting it to work with just /search/hello gets into > mapping issues I haven't h

RE: Servlet Deploy Problem Help

2002-03-21 Thread Lance Smith
PM To: Tomcat Users List Subject: RE: Servlet Deploy Problem Help Lance - yes it works thanks a lot. But what are other shorter forms that I can use to call the servlet. I would hope to call it with like /search/hello. What has the /hello/* mapping bought me. Thanks Sanjay --- Lance Smith &l

RE: Servlet Deploy Problem Help

2002-03-21 Thread Lance Smith
oops I missed that it was in the stack trace. Sorry, Lance -Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 21, 2002 10:20 AM To: Tomcat Users List Subject: RE: Servlet Deploy Problem Help Randy, Yes that was the problem.Now when I give the complete

RE: Servlet Deploy Problem Help

2002-03-21 Thread Lance Smith
to /hello/* I would be able to call my servelet with /hello? or the full URL http://localhost:8080/search/hello? I tried it did not work- requested resource (/hello) is not available. Thanks a lot, Sanjay --- Lance Smith <[EMAIL PROTECTED]> wrote: > Sanjay, > The servlet-mapping is a tag

RE: Servlet Deploy Problem Help

2002-03-21 Thread Lance Smith
completely off on this. and what is this ? Thanks again HelloWorld /hello/* Then you should be able to call it like: http://localhost:8080/search/hello/ --- Lance Smith <[EMAIL PROTECTED]> wrote: > In you're web.xml change: > > HelloWo

RE: Servlet Deploy Problem Help

2002-03-21 Thread Lance Smith
In you're web.xml change: HelloWorld /hello to : HelloWorld /hello/* Then you should be able to call it like: http://localhost:8080/search/hello/ Hope this helps Lance -Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: T

RE: [Tomact Servlet Deploy Problem Help]

2002-03-20 Thread Lance Smith
Yes it must be ALL capital letters. -Original Message- From: Sanjay Bahal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 11:14 AM To: Tomcat Users List Subject: Re: [Tomact Servlet Deploy Problem Help] Kaikuo Luo, Thanks. Check my mail- I am doing all that. Is the name WEN-

RE: Double loading of my application

2002-03-15 Thread Lance Smith
Paul ( I assume ), Had the same trble with no answers also seemed to go away when I added a path to my context statement like: Hope this helps, Lance -Original Message- From: Paul, Debra, & 4 Kids Mendelson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 20

getOutputStream() has already been called for this response

2002-03-05 Thread Lance Smith
Help, Why would this code: public class Controller extends HttpServlet { ... protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException { HTMLTagHelper tagHlpr = new HTMLTagHelper( getServletContext() );