You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by angeloimm <an...@libero.it> on 2004/11/10 10:24:44 UTC

Cocoon request and getServletPath() or getContextPath()

Hi all.... i need to have some path infos.... i have tried to use these methods:

print ( cocoon.request.getPathInfo()  );
print ( cocoon.request.getContextPath() );
print ( cocoon.request.getServletPath()  );


But in all the methods i have this error message:
org.apache.avalon.framework.CascadingRuntimeException: getPathInfo is not a function.
org.apache.avalon.framework.CascadingRuntimeException: getContextPath is not a function.
org.apache.avalon.framework.CascadingRuntimeException: getServletPath is not a function.

Why this thing?
And how can i have path infos?
My environment is:
Windows XP Home Edition,
JBoss 3.2.5
Cocoon 2.1.5.1

Thanks to all



____________________________________________________________
Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su http://www.libero.it 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org