multiple front ontroller in struts

2002-10-16 Thread Anjali Jain

Hi all,
is it possible to have one more front controller servlet other than
Actionservlet in struts ...??


anjali

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: multiple front ontroller in struts

2002-10-16 Thread Daniel Honig

I would guess that in alot of cases one could solve the need
for multiple front servlets through the use of a custom
RequestDispatcher?

-daniel

-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 7:13 AM
To: Struts Developers List
Subject: Re: multiple front ontroller in struts


Not at this time. There are a number of deep assumptions in the code that
the ActionServlet is the one-and-only
in the application. Although, I think re-examining that assumption post 1.1
would be worthwhile. There are some
performance advantages to having a single servlet, but there are also many
configuration advantages to having
multiple controller servlets, each respnsible for its own URI pattern(s).

-Ted.

10/16/2002 6:17:59 AM, Anjali Jain [EMAIL PROTECTED] wrote:

Hi all,
is it possible to have one more front controller servlet other than
Actionservlet in struts ...??


anjali

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: multiple front ontroller in struts

2002-10-16 Thread Craig R. McClanahan



On Wed, 16 Oct 2002, Daniel Honig wrote:

 Date: Wed, 16 Oct 2002 08:20:44 -0400
 From: Daniel Honig [EMAIL PROTECTED]
 Reply-To: Struts Developers List [EMAIL PROTECTED]
 To: Struts Developers List [EMAIL PROTECTED], [EMAIL PROTECTED]
 Subject: RE: multiple front ontroller in struts

 I would guess that in alot of cases one could solve the need
 for multiple front servlets through the use of a custom
 RequestDispatcher?


Or using the sub-application module facilities in 1.1 if what you really
want is to combine multiple Struts-based applications into one webapp.

Or subclassing and specializing RequestProcessor.

Or using Filters on a Servlet 2.3 or later system.

 -daniel


Craig


 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 16, 2002 7:13 AM
 To: Struts Developers List
 Subject: Re: multiple front ontroller in struts


 Not at this time. There are a number of deep assumptions in the code that
 the ActionServlet is the one-and-only
 in the application. Although, I think re-examining that assumption post 1.1
 would be worthwhile. There are some
 performance advantages to having a single servlet, but there are also many
 configuration advantages to having
 multiple controller servlets, each respnsible for its own URI pattern(s).

 -Ted.

 10/16/2002 6:17:59 AM, Anjali Jain [EMAIL PROTECTED] wrote:

 Hi all,
 is it possible to have one more front controller servlet other than
 Actionservlet in struts ...??
 
 
 anjali
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 




 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: multiple front ontroller in struts

2002-10-16 Thread Martin Cooper



 -Original Message-
 From: Anjali Jain [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 16, 2002 3:18 AM
 To: Struts Developers List
 Subject: multiple front ontroller in struts
 
 
 Hi all,
 is it possible to have one more front controller servlet other than
 Actionservlet in struts ...??

You want a second front-controller that is *not* Struts? Yes, you can do
that if you want to, although I'm not sure why you would want to.

If you want a second Struts ActionServlet instance, you cannot do that. The
new module (sub-app) architecture in Struts 1.1 was created in part to
address this issue. Instead of using two separate front controllers, you
simply create two separate modules.

--
Martin Cooper


 
 
 anjali
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]