Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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 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?

    Bookmark Topic Watch Topic
  • New Topic