This happens because the struts filter(s) intercepts your request. You could change your web.xml configuration such that the struts filter(s) ignores this kind of request: Take a look at your filter mapping and change the url-pattern in something like <url-pattern>/*.action</url-pattern>
On 20 May 2011 10:10, webmeiker <i...@webmeiker.com> wrote: > Hi everybody, > > > > I want to publish some resources (folders and files) under a folder inside > the WebContent folder of my Struts2 application and allow free directory > exploration of that folder contents. > > > > WebContent/public-folder/*.* > > > > Does somebody know how to achieve this? > > > > All my attempts fail with the classical ‘There is no Action mapped for > action name public-folder’ > > > > I am using Sitemesh decorator, and have defined next exclude pattern: > > > > <excludes> > > <pattern>/*public-folder*</pattern> > > </excludes> > > > > It seems that I’m unable to escape away from Struts2 control. > > Thanks… > > -- > -- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org