aspose file tools*
The moose likes JSP and the fly likes How to show word file in IE with JSP coding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to show word file in IE with JSP coding" Watch "How to show word file in IE with JSP coding" New topic
Author

How to show word file in IE with JSP coding

ASD derf
Greenhorn

Joined: Dec 02, 2006
Posts: 1
i want to show a word file in I.E. with JSP code .. i tried out with include but it dosent works .. i am using tomcat 5.5 and I.E. 6.0
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

add page directive attribute as contentType= "application/vnd.ms-word".


Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61772
    
  67

"ASD derf",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61772
    
  67

Originally posted by ASD derf:
i want to show a word file in I.E. with JSP code


JSP is a poor technology choice for such a feature. Perhaps this article will help explain why.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to show word file in IE with JSP coding