Its in ServletActionContext, actually.

I know you said long story, but why would the PDF generation be in the 
Action instead of treating it as just another view?



Quoting "Thompson, Kris" <[EMAIL PROTECTED]>:

> Uh, that makes perfect sense but I'm not seeing that method in the
> ActionContext class and I just did an update from CVS.  What am I
> missing here?  I'm talking about WW2 in particular I am looking at
> the XWork API from java.net.  While I do see a getSession I don't see
> getResponse.
> 
> -----Original Message-----
> From: Mike Cannon-Brookes [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
> theresponse?
> 
> 
> You can still do that if you want -
> ActionContext.getResponse().setContentType() should work AFAIK.
> 
> Cheers,
> Mike
> 
> On 24/9/03 11:50 PM, "Thompson, Kris" ([EMAIL PROTECTED])
> penned the words:
> 
> 
> 
> 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?
> 
> Thanks 
> 
> Kris 
> 
> 
> 
> 
> 
> 
> 





-------------------------------------------------------
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

Reply via email to