Long story gone VERY short is that it will be created in a class that extends ActionSupport. So unless I am missing something I don't have access to the response object therefore the method below is not available to me, right?
KT > -----Original Message----- > From: Philipp Meier [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 8:15 AM > To: [EMAIL PROTECTED] > Subject: Re: [OS-webwork] How does one change the contentType in the > response? > > > On Wed, Sep 24, 2003 at 07:50:31AM -0600, Thompson, Kris wrote: > > I need change the MIME type to display a pdf to the > browser. In a Servlet based web framework like Expresso or > Struts I would simple call response.setContentType(String), > hows does one do this in WW2? > > How do you create the pdf? If you use a Servlet to render the action's > result, you can use response.setContentType(String), of course. > > -billy. > > -- > Meisterbohne Meisterbohne GbR, Küfner, Mekle, Meier Tel: > +49-731-399 499-0 > eLösungen Söflinger Straße 100 Fax: > +49-731-399 499-9 > 89077 Ulm http://www.meisterbohne.de/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork