Hi Matteo,
you could try org.springframework.mock.web.MockServletContext
Ralf
Am 20.07.10 17:12, schrieb Matteo Pelucco:
Hi Magnolians,
is it possible to get a ServletContext inside (a.k.a. during
execution) of a command triggered by a scheduled job?
Really neboulous way of doing, I know, but we are facing with some
legacy codes that need ServletContext to be initialized...
Matteo
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------