File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes getMimeType() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "getMimeType()" Watch "getMimeType()" New topic
Author

getMimeType()

carlos fernandez
Greenhorn

Joined: Mar 30, 2004
Posts: 17
Does the file specified as the argument to getMimeType() have to include path information? If so, does it have to be relative from the application root? If not, where does the file have to reside in order for the ServletContext to find it?
Carlos
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getMimeType()
 
Similar Threads
Mime type tags in the deployment descriptor
A problem with servlet file transfer
WebService HttpClient MultipartRequestEntity
Download file HELP?
finding mimetype using javascript