Hello,
Is it possible to access a file that is located in the local drive or server
side folder from struts.xml? as follow:
<result name="success" type="jasper">
<param name="location">C:/Folder/jasperReport.jasper</param>
or
<param name="location>%{filename}</param> where the filename is avariable in
the action class with the file location is hardcoded as String filename =
"C:/Folder/jasperReport.jasper";
My struts2 application is deployed on JBoss as 6, it seems ServletRequestAware
is unable to access the folder within war file while working with JBoss. It is
working fine with tomcat. I am thinking about accessing files in the server
size instead.
Thanks,