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


Win a copy of Spring in Action this week in the Spring 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getMimeType()