aspose file tools*
The moose likes Servlets and the fly likes Need suggestion regarding an issue related to content type header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Need suggestion regarding an issue related to content type header" Watch "Need suggestion regarding an issue related to content type header" New topic
Author

Need suggestion regarding an issue related to content type header

Abhishek Purwar
Ranch Hand

Joined: Dec 15, 2007
Posts: 63

Hi All,

I have web application and I prepare war file for deployment. Classes are put inside {location}/WEB-INF/classes location and static contents like images, javascript files, static jsps, etc. are put at following location {location}/resources/.
When I tried to access static resources from browser (url : http://{domain name}/resource/{resource name}), no filter of web app is called. Even filter which is set for every request is not getting called. Can anybody provide some suggestion on this?
And one more thing, if I want to set content type in response header for static resource then how can I set that?

I need help on this.Please provide your views on this.

Thanks to all in advance for their suggestions.


Abhishek Purwar,
Bangalore.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need suggestion regarding an issue related to content type header
 
Similar Threads
Need suggestion
Need suggestion regarding an issue related to content type header
Need suggestion regarding an issue related to content type header
Do I have to choose only one view solution in Struts2?
Error 500: Filter [Spring OpenEntityManagerInViewFilter]: could not be loaded