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:[EMAIL PROTECTED]] Sendt: 8. november 2001 04:40 Til: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] >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: <[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]> --------------------------------------------------------------------- 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]>