Re: Contexts

2002-05-04 Thread Jacob Kjome
You really need to look at the structure of the other webapps. For instance, look at the "examples" webapp that comes with Tomcat. Notice that it has a WEB-INF directory with "classes" and "lib" directories underneath. That is where servlets go. Also, the web.xml file goes in WEB-INF. *.j

Re: Contexts in Tomcat 3.2.1 - Necessary?

2002-01-08 Thread Darrell Esau
I think that it's possible. Have a look at the example configuration at the bottom of the mod_jk HOWTO. I believe it's showing exactly what you want. it's at: http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html The particular section you're interested in is near the bottom, the

RE: Contexts in Tomcat 3.2.1 - Necessary?

2002-01-08 Thread Larry Isaacs
I believe your approach is the correct one. The context name is part of how isapi_redirect.dll determines which requests to forward to Tomcat, i.e. the mappings in uriworkermap.properties always start with a "/". I don't think mapping just "*.jsp" is supported. Cheers, Larry > -Original Me

Re: Contexts with relative and absolute DocBase?

2001-12-18 Thread Craig R. McClanahan
On Tue, 18 Dec 2001, Dieter Kaltenbach wrote: > Date: Tue, 18 Dec 2001 10:32:37 +0100 > From: Dieter Kaltenbach <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Contexts with relative and absolute DocBase? > > Hi, > > how can I use relativ

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
> Yes, is true, it is supported in java.io.File class, bur > remember, the other > will be faster for the platform, at the end, the runtime will convert > C:/Temp to C:\Temp, it is the platform specification :-), Faster by 1ns at process startup only. Now, compare that to the time lost by bad

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Guido Medina
x 7.1 Professional Server :-) -Original Message- From: Justin Rowles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 9:04 AM To: 'Tomcat Users List' Subject: RE: Contexts with relative and absolute DocBase? > Remember that TC is made in Java, the character "\&q

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Justin Rowles
> Remember that TC is made in Java, the character "\" is > illegal, to do it you > have to put "C:\\Temp", the same as String x = "\n"; Better still, use Unix notation: "C:/Temp" J. -- You're only jealous cos the little penguins are talking to me. *

RE: Contexts with relative and absolute DocBase?

2001-12-18 Thread Guido Medina
Remember that TC is made in Java, the character "\" is illegal, to do it you have to put "C:\\Temp", the same as String x = "\n"; Guido. -Original Message- From: Dieter Kaltenbach [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 5:33 AM To: [EMAIL PROTECTED] Subject: Contexts

RE: CONTEXTS

2001-06-29 Thread Jann VanOver
ailto:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 10:00 PM To: [EMAIL PROTECTED] Subject: Re: CONTEXTS Hello Jason , For configuring a context in Tomcat u need to do following things . 1 . Make a folder with the name of context anywhere inside tomcat Dir. 2 . Define

RE: CONTEXTS

2001-06-29 Thread Jann VanOver
Do you have a WEB-INF/web.xml file in webapps/onsale ?? -Original Message- From: teh j [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2001 9:46 PM To: [EMAIL PROTECTED] Subject: CONTEXTS Hello all I am currently trying to create a new context to run under Tomcat I have created a

Re: CONTEXTS

2001-06-28 Thread Vikram Naik
Hello Jason , For configuring a context in Tomcat u need to do following things . 1 . Make a folder with the name of context anywhere inside tomcat Dir. 2 . Define it by describing your context in Server.xml with the use of the tag http://yourhost:yourport/ "

RE: Contexts, Classes, Variables

2001-05-21 Thread Cox, Charlie
Title: RE: Contexts, Classes, Variables My understanding is that if your class is in your classpath, it will be loaded once by java's bootstrap loader and they would share the same instance. If your class is part of your web application, it would be a different instance for each context.

RE: Contexts and dispatchers

2000-11-13 Thread Richard Evans
---Original Message- > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > Sent: 13 November 2000 22:51 > To: [EMAIL PROTECTED] > Subject: Re: Contexts and dispatchers > > > Hi Richard, > > Sorry for the misunderstanding. I think I finally see what you are > trying to do. &

Re: Contexts and dispatchers

2000-11-13 Thread Wyn Easton
icitly. > > Help, anyone? > > Richard > > > > > --- Richard Evans <[EMAIL PROTECTED]> wrote: > > > But I need the context path for a different ServletContext. > > > request.getContextPath returns the path for _this_ context, not > a >

Re: Contexts and dispatchers

2000-11-13 Thread Richard Evans
e path for _this_ context, not a > > foreign > > one. > > > > > -Original Message- > > > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > > > Sent: 11 November 2000 21:57 > > > To: [EMAIL PROTECTED] > > > Subject: Re: Conte

RE: Contexts and dispatchers

2000-11-11 Thread Wyn Easton
different ServletContext. > request.getContextPath returns the path for _this_ context, not a > foreign > one. > > > -Original Message- > > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > > Sent: 11 November 2000 21:57 > > To: [EMAIL PROTECT

RE: Contexts and dispatchers

2000-11-11 Thread Richard Evans
But I need the context path for a different ServletContext. request.getContextPath returns the path for _this_ context, not a foreign one. > -Original Message- > From: Wyn Easton [mailto:[EMAIL PROTECTED]] > Sent: 11 November 2000 21:57 > To: [EMAIL PROTECTED] > Subject: R

Re: Contexts and dispatchers

2000-11-11 Thread Wyn Easton
--- Richard Evans <[EMAIL PROTECTED]> wrote: > "/file/x/y". (The URL without the context root). How to I find the > context Use request.getContextPath() If your web app. is called app1 getContextPath() would return /app1 = Wyn Easton [EMAIL PROTECTED] _