On Thu, Jun 03, 2004 at 11:43:29AM +0200, Nina Aschenbrenner wrote:
: We wanted to create a new context for our webapplication, so we could invoke
: it vie ipaddress:portnumber.
: We tried several tutorials but nevertheless it does not work.
: Can anybody help?
Perhaps, but unless you:
1/
Just to understand your question... You are trying to dynamically create
a new context? Like when Tomcat has already started?
_
Atreya Basu
Developer,
Greenfield Research Inc.
e-mail: atreya (at) greenfieldresearch (dot) ca
-Original Message-
From:
Yes.
From: Atreya Basu [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: New context
Date: Thu, 03 Jul 2003 08:21:52 -0300
Just to understand your question... You are trying to dynamically create
a new context? Like when
Okay,
So I guess you tried to use the Embedded version of Tomcat. You should
have a look at http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
That should explain well how to dynamically load a new context. The
other option is if you have a Tomcat server running is to use the
Manager
Don't know which snoop example you have, but mine doesn't look anything
like yours.
Mine just says %= request.getHeader(User-Agent) %.
It doesn't have any of that other HTMLFilter.Filter stuff. As an aside,
you're getting the error message because you are declaring
'
Subject: RE: New context: fine, development environment: not fine!
Don't know which snoop example you have, but mine doesn't look anything
like yours.
Mine just says %= request.getHeader(User-Agent) %.
It doesn't have any of that other HTMLFilter.Filter stuff. As an aside,
you're
To: 'Tomcat Users List'
Subject: RE: New context: fine, development environment: not fine!
Hi John,
I got my example thru the packaged version of 4.1.12 (LE) for Windows.
Changing the line to:
% out.print(request.getHeader(User-Agent)); %
does the job fine, however:
%
out.print
or hint?
jgp
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 18:06
To: 'Tomcat Users List'
Subject: RE: New context: fine, development environment: not fine!
Looks like a classpath problem to me. My JDK 1.3.1 has no such HTMLFilter
]]
Sent: Monday, December 09, 2002 12:25 PM
To: 'Tomcat Users List'
Subject: RE: New context: fine, development environment: not fine!
I use 1.4.1, but there is no HTMLFilter as well...
I did not wrote it, it comes from the examples :(.
I think you are right: there is a difference
Please remove my name from your email list.
- Original Message -
From: Jacob Kjome
Sent: Thursday, October 24, 2002 11:19 PM
To: Tomcat Users List
Subject: Re: New context in server.xml prevents war unpacking (TC 4.1.12)
Unfortunately, this is expected behavior. There is a bug about
Unfortunately, this is expected behavior. There is a bug about it at
http://nagoya.apache.org/bugzilla/ if you want to search for it. The docs
mention this as the expected behavior, but don't give a reason why it
should be that way.
Basically, if you name a Context element, you will
I believe the reloadable=true statement refers to reloading currently
deployed webapps that have changed in some way and not to deploying
webapps.
So if you want to customize your context for your database you can either
auto-deploy in the webapp directory then customize your context and
"A Context component represents an individual web application that is
running within a particular Host."
Such a web application is based on a directory whose organization is
described in the Servlet API Specification, version 2.2 -- including the web
application deployment descriptor file, found
13 matches
Mail list logo