cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <>
Subject how to access HttpRequest from java in cocoon
Date Wed, 24 Jun 2009 13:37:30 GMT
Hi guys,


Small question...


Is there a way to access org.apache.cocoon.environment.http.HttpRequest
from java without having to pass the request object from flowscript to
my java class like the snippet below?





function main() {

    var factory = new UserFactoryImpl();

    var user = factory.getUser(cocoon.request, userId);




Thx in advance,



View raw message