I want to publish some resources (folders and files) under a folder inside the WebContent folder of my Struts2 application and allow free directory searches of this folder contents.
WebContent / public folder /.
Does anyone know how to achieve this?
All my attempts fail with the classic "There is no action displayed for the action name public-folder
I use the Sitemesh decorator and defined the following exception pattern:
<excludes>
<pattern>/*public-folder*</pattern>
</excludes>
It seems that Im was unable to escape from running Struts2. Thank...
source
share