Re: Multiple web.xml files?

2001-10-24 Thread Frank Lawlor

That would be nice.

In my app, when I add a "Client" I need to add a set of 
security constraints, mappings, etc.  It would make 
maintenance MUCH easier if these could be modularized.
This would also require more flexibility in the organization
of the web.xml file.

Ideally this functionality should have been a set of APIs
which could be invoked programmatically (e.g.
addSecurityConstraint()) so this could be done more
dynamically without having to bounce the app to read
a rigidly structured xml file.

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.






Re: Multiple web.xml files?

2001-10-23 Thread Dmitri Colebatch

On Tue, 23 Oct 2001 [EMAIL PROTECTED] wrote:

> Hi.  Does anyone know if it is possible to have modularized web.xml files for an
> app?  ie tomcat will read all of them and "merge" them together?  If not, is it
> possible to add servlet mappings dynamically?

afaik Tomcat doesn't support anything like what you're asking for in terms
of web.xml merging.  Re adding mappings dynamically, again, not sure if
its natively supported, but you could write a servlet that matches /* and
have that read and re-read its own config file for dispatching requests.  

cheers
dim




Multiple web.xml files?

2001-10-23 Thread dhay



Hi.  Does anyone know if it is possible to have modularized web.xml files for an
app?  ie tomcat will read all of them and "merge" them together?  If not, is it
possible to add servlet mappings dynamically?

Cheers,

Dave





[EMAIL PROTECTED] on 10/23/2001 02:58:08
PM

To:   "David_Hay/Lex/Lexmark.LEXMARK"@sweeper.lex.lexmark.com
cc:(bcc: David Hay/Lex/Lexmark)
Subject:  WELCOME to [EMAIL PROTECTED]



Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.

I'm working for my owner, who can be reached
at [EMAIL PROTECTED]

Acknowledgment: I have added the address

   [EMAIL PROTECTED]

to the tomcat-user mailing list.

Welcome to [EMAIL PROTECTED]!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.


--- Administrative commands for the tomcat-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   <[EMAIL PROTECTED]>

To remove your address from the list, send a message to:
   <[EMAIL PROTECTED]>

Send mail to the following for info and FAQ for this list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

Similar addresses exist for the digest list:
   <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>

To get messages 123 through 145 (a maximum of 100 per request), mail:
   <[EMAIL PROTECTED]>

To get an index with subject and author for messages 123-456 , mail:
   <[EMAIL PROTECTED]>

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   <[EMAIL PROTECTED]>

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example "[EMAIL PROTECTED]", just add a hyphen and your
address (with '=' instead of '@') after the command word:
<[EMAIL PROTECTED]>

To stop subscription for this address, mail:
<[EMAIL PROTECTED]>

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- Enclosed is a copy of the request I received.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 57025 invoked from network); 23 Oct 2001 18:58:08 -
Received: from interlock2.lexmark.com (192.146.101.10)
  by daedalus.apache.org with SMTP; 23 Oct 2001 18:58:08 -
Received: by interlock2.lexmark.com id OAA02212
  (InterLock SMTP Gateway 4.2 for
[EMAIL PROTECTED]);

  Tue, 23 Oct 2001 14:58:11 -0400
Message-Id: <[EMAIL PROTECTED]>
Received: by interlock2.lexmark.com (Protected-side Proxy Mail Agent-1);
  Tue, 23 Oct 2001 14:58:11 -0400
X-Lotus-Fromdomain: LEXMARK@LEXMTA
From: [EMAIL PROTECTED]
To:
"tomcat-user-sc.1003858804.lidhbmfbiikhhfnenipm-dhay=lexmark.com%jakarta.apache.org"@lexmark.com

Date: Tue, 23 Oct 2001 14:57:42 -0400
Subject: Re: confirm subscribe to [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N