Yes, possible.  You need to set the content type header in the
response from the JSP.  In the case of PDF/XLS it is probably
"application/octet-stream" or something similar.  You need to set the
header to "text/plain" or "text/html" depending.

See here:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#Content-Type

-Brett


On Jul 6, 4:42 pm, jbroquefere <[email protected]>
wrote:
> Hi,
> in a project, i use a frame with url in .jsp
> that jsp is a report viewer. sometimes reports are in pdf or xls, so
> in thos case, the frame ask to download, and it's ok.
> sometimes it's a .txt file. and then the frame ask to download, but i
> prefere the frame show that text file as an html fil, i mean without
> download, just show pure text in the frame.
> is that possible?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to