Can anyone pl suggest ways to initialize a struts webapp other than
plugIn and extended ActionServlet.

If you are using Servlet 2.3 or newer, you could use a ServletContextListener http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/ServletContextListener.html

Although from what you describe, I would thing that the real problem is that Tomcat is initializing the servlet twice, which means that even the ServletContextListeners might get initialized twice.

I would double-check your assumption that the difference is platform-specific; perhaps it's more a difference in how the two different Tomcat installations are configured? If that's not the case, then the only other difference between Tomcat on Windows and Tomcat on Linux is the manner in which Tomcat is actually started up.

Hope this helps,
        Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "In fact, when I die, if I don't hear 'A Love Supreme,' I'll turn back; I'll know I'm in the wrong place."
- Carlos Santana


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



Reply via email to