• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to specify the response.setContent() for all file type..even without extensions

 
k lokesh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hellow,
I have a problem of specifying the content type for file download
in JSP...
how to specify the Content type for all file types in one shot...
to specify the word we have setContentType("application/msword") ....
and etc to others...
\but what for all file types
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!