For the record, to create multiple ActionServlets, I just extended
ActionServlet with an empty class body - basically creating an identical
servlet with a different name, for each role.  This is working fine with
each ActionServlet reading a different struts-config file.  Could there be
some other problem with resources?


-----Original Message-----
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 14, 2002 3:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Multiple struts-config.xml files?


Subject: Re: Multiple struts-config.xml files?
From: "Jens Mander" <[EMAIL PROTECTED]>
 ===

Which are the alterations required to allow struts 1.0 to permit multiple
Action Servlets?
Doesn't a container (e.g. Tomcat) generate separate instances for each
action servlet which reads its own struts-config file and if so what kind of
threading problems could occur?

In my case I've been using an approach similar to what Michael
describes without the RoleDispatcherServlet
and I am worried about these threading problems you mention.

Thanks,

Ronaldo

"Ted Husted" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]...
> Struts 1.0 isn't designed to permit multiple ActionServlets. Unless
> you've made some alterations, there may be threading problems.
>
--cut

>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Java Web Development with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/




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

Reply via email to