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.
Do you modify the ServletDispatcher? (I guess not :-))
Do you write a one-time action which gets auto-invoked by the container
at startup and then insert into the Application map the data needed
inside the other actions ? (still don't know if it works ...)
thanks in advance
otto
-------------------------------------------------------
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
- Re: [OS-webwork] Newbie-Right place for one-time op... Ottone Maurizio Grasso
- Re: [OS-webwork] Newbie-Right place for one-ti... Rickard Öberg
- Re: [OS-webwork] Newbie-Right place for one-ti... Mike Cannon-Brookes