You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-fr@cocoon.apache.org by Laurent Perez <ha...@gmail.com> on 2006/09/04 17:56:58 UTC

Accès au ServletContext depuis flowscript ?

Bonjour,

Je cherche à atteindre un ServletContext depuis un flowscript mais ça
n'a pas l'air de fonctionner ...

J'ai essayé : var httpctx = cocoon.context; var servletctx =
httpctx.getContext("/"); (cf
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/environment/http/HttpContext.html#getContext(java.lang.String))
 mais servletctx est toujours null. Quel style d'URI faut-il passer à
getContext() pour retrouver le ServletContext ?

Merci
laurent

-- 
<a href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com
- Mobile world, technology and more</a>

---------------------------------------------------------------------
Liste francophone Apache Cocoon -- http://cocoon.apache.org/fr/
Pour vous desinscrire : mailto:users-fr-unsubscribe@cocoon.apache.org
Autres commandes : mailto:users-fr-help@cocoon.apache.org