Another option is to have your startup code in its own, separate servlet
(or you could use a context listener). Unless you specifically need to
alter behaviour of the standard ActionServlet, keeping your startup code
separate probably makes more sense.
L.
Sudhaker Raj wrote:
You can try struts-plugin to execute startup code. I would avoid
making changes in core behaviors if possible without changing them.
On 8/20/05, Anuradha S.Athreya <[EMAIL PROTECTED]> wrote:
Hello,
I understand it is possible to override the init() method in the Action
Servlet class. How can I go about achieving this? What are the changes that
I need to make in the web.xml. I need to introduce this in my application,
since I need to initialize certain parameters during application start up.
Regards,
Anuradha S.Athreya
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]