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…

--

Reply via email to