I do not know if I understand you.
You want to cast the response object to the request object? That cannot
work.
As the org.apache.cocoon.environment.* classes are wrappers around the
original Http* objects, you do have the HttpServletRequest ...

JOERN

-----Ursprüngliche Nachricht-----
Von: Shailendra Vasale [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 9. November 2001 08:32
An: [EMAIL PROTECTED]
Betreff: C2 Logicsheet : HttpServletResponse



hi Friends,      Why it's not possible to use HttpServletRequest object in
logicsheet in C2? Even when I type cast the
"org.apache.cocoon.environment.http.HttpResponse"  to HttpServletReusest,it
throws an exception -  "org.apache.cocoon.ProcessingException:  Exception in
ServerPagesGenerator.generate():  java.lang.ClassCastException:
org.apache.cocoon.environment.http.HttpResponse"     How can use
HttpServletResponse object?    Thanks in advance.  Regadrs, SHAILENDRA.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to