Thanks Sven !!

----- Original Message -----
From: "Sven Homburg" <[EMAIL PROTECTED]>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Tuesday, 13 May, 2008 12:43:40 PM GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Re: Access to ServletContext

public static void
contributeSchedulerFactory(@InjectService("ApplicationGlobals")ApplicationGlobals
applicationGlobals,

MappedConfiguration<String, String> configuration)
{
    String configPath =
applicationGlobals.getServletContext().getRealPath("/WEB-INF/conf");
  configuration.add("quartz.properties", configPath + "/quartz.properties");
}

2008/5/13 Peter Stavrinides <[EMAIL PROTECTED]>:

> Hi everyone,
>
> How can I get access to the ServletContext, (Not Context), is it possible
> through T5 IoC?
>
> Thanks
> Peter
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com

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

Reply via email to