Below is my case. step-1 : i want to configure action with .gif extention.I know how to do this i just add struts.action.extension=gif,action.
But the problem is if certain pattern match like i have to this for only pattern that match /flag/*.gif .Im my case i have lot of .gif file is in my project.so if i try to configure .gif then it tell me that there is no such action in struts config file.
Thanks please let me revert back if you not getting my question properly
Actually i did this in way you mention but the problem is Apache does not send the required if-modified-since header for urls with .action extension and therefore the performace is hindered.So i think it is good that i have any way to solve this problem
Thanks very much for you reply .do you have any other suggestion.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to pass certain action from struts2 mapper