I would like to add comments on my previous message about
ServletContextListener and
ActionServlet sub classing. I read that with Struts1.1 it is bad to
create ActionServlet subclass ,
because a new class RequestProcessor has been added.
So my new question is, single initialisations (as database
connection or ORB initialisation)
must be done in ServletContextListener class
or RequestProcessor sub classing (in this case which method use ?, I
don't look any init() method).
I don't understand why the RequestProcessor has been created ? Do
this class implement new
features/methods in comparison with ActionServlet ?
Or do these two classes not work in the same context ? For example a
RequestProcessor is
associated to a single application whereas an ActionServlet instance
can be shared between several
applications ?
In this case we can yet need to subclass the ActionServlet class.
Has somebody an example ? I work on a little web application and I
don't understand well the
notion of sub-application or multiple applications and the
difference with multiple Action
instances.
Thanks in advance.
Sandra
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>