Hi Paul,
C3 or C2.2?
In cocoon-3 you may want to use:
import org.apache.cocoon.servlet.util.HttpContextHelper;
HttpServletRequest request;
public void setup(Map<String, Object> parameters) {
request = HttpContextHelper.getRequest(parameters);
}
from within a cocoon generator.
Cheers,
Jos
On 06/12/2011 07:01 PM, Paul Joseph wrote:
Hi there,
Does anyone know how one can pass the Cocoon request to a java
function that needs to use HttpServletRequest?
I passed in the cocoon.request to the Java function using but inside
the Java code I am not able to cast the cocoon request to the
HttpServletRequest.
Any guidance would be appreciated.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]