File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Accessing staitc resources in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

Accessing staitc resources in struts2

francis varkey
Ranch Hand

Joined: Sep 13, 2005
Posts: 166
I am trying to access resources like images and java script in jsp pages. My application is based on struts2.2.3. I am not able to access images and java script. do we need to change anything in struts.xml ,web.xml or web server configuration files ?. My platform is windows. Need to add any additional struts libraries ?.

Joe Ess

Joined: Oct 29, 2001
Posts: 8836

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone (and it is rude to the folks who were helping you in the other thread).

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Accessing staitc resources in struts2
Similar Threads
Not able to load images in stuts2
locating the JSF resources directory
Restrict Users Accessing Folders Under Root
Help please
Where do I put images in J2me application