How to config tomcat can open some file type in browser?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Janticha_Prechateerakun
Posted On:   Friday, August 29, 2003 02:42 AM

I use tomcat 4.0 for my project (JSP). I can upload file to folder of my web server. Some file type can read in browser e.g. .pdf .doc ,but some file type can't read in browser e.g. .ppt .xsl and etc. ? (http://localhost:8080//test.ppt --> it show some text,but can't read)


how to configuration tomcat for every file type can read in browser? help me please...

Re: How to config tomcat can open some file type in browser?

Posted By:   Zac_Jacobson  
Posted On:   Friday, August 29, 2003 03:44 PM

Handling file types is a browser configuration, not a server configuration. You do have to make sure that tomcat sets the content type on the http response correctly for each file type you send out.
About | Sitemap | Contact