Ottone Maurizio Grasso wrote:
You would do it as you would do any init stuff: write a ServletContextListener and register it in web.xml.I'm almost sure I'm posing a typical webwork newbie question, but that's what I am: my esposition too the framework adds up to a frantic w-e spent perusing examples and docs. To the question then: where's the right way to write the operations you usually write into the init method of a Servlet (i.e: db connections) and want to be performed before any action belonging to your application? To sum things up: it has to be executed once and when the first action is invoked it's already been executed.
/Rickard
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork