Hi Jason,
> public void setup(SourceResolver resolver, Map objectModel, String src,
> Parameters par)
> throws SAXException, ProcessingException, IOException
> {
> Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
>
> // This line here gets a ClassCastException.
> HttpRequest hreq = (HttpRequest)request;
--> skip the last line
>
> Session session = hreq.getSession();
Session session = request.getSession();
>
> Context context = (Context)objectModel.get(Constants.CONTEXT_OBJECT);
>
> handler.setInputs(session, request, context);
> }
Hope that helps
Regards,
Reinhard
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>