Hi, Thank you, I forgot this injection.
Best regards, Stef > -----Original Message----- > From: [EMAIL PROTECTED] > Sent: Mon, 12 Nov 2007 11:28:22 -0800 (PST) > To: users@tapestry.apache.org > Subject: Re: [T4] Context real path > > Have you tried the following ? > > > @InjectObject(service:tapestry.globals.ServletContext") > public abstract ServletContext getServletContext(); > > > Shing > > --- Istvan Szucs <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> How can I get the real context path in Tapestry >> 4.0.2? >> >> It is not enough: >> public void test(IRequestCycle cycle) { >> String contextPath = >> > cycle.getEngine().getInfrastructure().getContextPath(); >> } >> >> Best regards, >> Stef >> >> > ____________________________________________________________ >> GET FREE 5GB EMAIL - Check out spam free email with >> many cool features! >> Visit http://www.inbox.com/email to find out more! >> >> > --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> For additional commands, e-mail: >> [EMAIL PROTECTED] >> >> > > > Home page : http://www.lombok.demon.co.uk/ > > > > ___________________________________________________________ > Want ideas for reducing your carbon footprint? Visit Yahoo! For Good > http://uk.promotions.yahoo.com/forgood/environment.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]