Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The following page has been changed by CristianLopez:
http://wiki.apache.org/tapestry/SendingDiferentContentTypes

------------------------------------------------------------------------------
                  // response.setHeader("Content-Disposition", 
                  //            "inline; attachment; filename=" + someFileName);
                try {
-                 OutputStream os = response.getOutputStream(new ContentType(/* 
Your file's content-type */);
+                 OutputStream os = response.getOutputStream(new ContentType(/* 
Your file's content-type */));
                    // Write your file's data to os
                  } catch (IOException e) {
                  throw new ApplicationRuntimeException(e);

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to