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?

 

 

importClass(Packages.com.xxx.xxx.UserFactoryImpl);

 

function main() {

    var factory = new UserFactoryImpl();

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

           ...

}

 

Thx in advance,

Robby

 

Reply via email to