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]

Reply via email to