Ae Paulo,

experimenta fazer um servlet para retornar o html e mapeie-o com final .doc no 
web.xml, eu acho q o IE antes de verificar o mime-type verifica a extensão do arquivo. 
Eu fiz isso uma vez para gerar pdf e abrir diretamenta no adobe. Claro que não custa 
setar o mime-type tambem.

Henrique Viecili
  ----- Original Message ----- 
  From: Paulo Alvim 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, October 07, 2004 6:19 AM
  Subject: Browser page break with ms/word myme


  Hi!

  I've read that the easier way to print using page break and Browser is to
  send the ordinary text/html contents with proprietary MS-Word's page break
  tags and "tell the Browser" to open that html using MS-Word. (In this case,
  we know the users will have Word installed).

  I couldn't make the Browser open my "html" using word. I've tried to set the
  content type response in the Request Processor (my descendent) without
  success...

  Any one could help with the best approach using Struts? Is there any other
  easier and light solution for page break (with specific header in each page,
  etc...) using Browser (no .PDF and .DOCs!)?

  Thanks in advance

  Paulo Alvim
  Powerlogic - Brazil


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to