cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Neigaard <s.neiga...@mobilethink.dk>
Subject SV: Can I send the intire HttpResponse object to a Java class
Date Fri, 09 Nov 2001 21:07:08 GMT
Oh no, I get a "Can't convert org.apache.cocoon.environment.Request to
javax.servlet.http.HttpServletRequest". Can I pass my method a standard
"HttpServletRequest" from my logicsheet? I really don't want a
"org.apache.cocoon.environment.Request" because I want to be able to run my
framework without Cocoon in the future (is I ever get the need).

/Søren

-----Oprindelig meddelelse-----
Fra: David Rosenstrauch [mailto:darose@dti.net]
Sendt: 8. november 2001 04:40
Til: cocoon-users@xml.apache.org
Emne: Re: Can I send the intire HttpResponse object to a Java class


OutputStream msg =
Controller.execute("Hent_Kontakter","Kontakter",null,null, request);


DR



At 09:36 AM 11/8/01 -0800, you wrote:
>In my old example (and now working example, thanks to you guys) I now need
>to get my hands on all parameters send from the client. Whats the best way
>to do this? My guess is to pass the entire HttpRequest object to my method,
>but what do you guys think?
>
>How do I pass the HttpRequest to the following method in a logicsheet?
>
>---------------------------------------------------------------------------
-
>-
>OutputStream msg =
>Controller.execute("Hent_Kontakter","Kontakter",null,null);
>---------------------------------------------------------------------------
-
>-
>
>Med venlig hilsen/Best regards
>Søren Neigaard
>System Architect
>................................
>Mobilethink A/S
>Arosgaarden
>Åboulevarden 23, 5.sal
>DK - 8000 Århus C
>Telefon: +45 86207800
>Direct: +45 86207810
>Fax: +45 86207801
>Email: s.neigaard@mobilethink.dk
>Web: www.mobilethink.dk
>................................
>
>
>---------------------------------------------------------------------
>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: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>




---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message