Meaningless Drivel is fun!
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "getMimeType()" Watch "getMimeType()" New topic


carlos fernandez

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?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: getMimeType()
It's not a secret anymore!