On 16. Mai 2006 - 10:21:13, yesidredondo wrote: | Can anyone tell me how to put the content type of a page in tapestry, if i | want a page to be of xml or xls format?
HttpServletResponse response = getRequestCycle().getRequestContext().getResponse(); try { response.setContentType("text/xml"); } catch (IOException e) { e.printStackTrace(); } Hope this helps, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]