aspose 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
 
Consider Paul's rocket mass heater.
 
subject: getMimeType()