This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data forum!
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
 
rocket mass heater kickstarter
 
subject: getMimeType()