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
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
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
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
> 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
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
> 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.
*
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
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
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
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/ "
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.
---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.
&
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
>
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
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
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
--- 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]
_
18 matches
Mail list logo