• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can't load resource from /WEB-INF/classes using <bean:resource> under WebSphere AS 6.1

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys, we're working with a Struts / J2EE app on WAS 6.1, and in one of our JSP pages we try to load a plain text file with some licensing text. The file is packaged into /WEB-INF/classes/license.txt and we try to reference it using



But trying to do this fails. A co-worker who has previously looked into this said he saw something (yeah, vague I know, but this all I have to go on) which suggests it's a security policy issue. But strangely, we also load an application_resources.properties file from the same location and it works.

This is all on WAS on Linux, if that's relevant.

Anybody have any idea what I might want to examine first on this?


Thanks!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic