Meaningless Drivel is fun!
The moose likes Struts and the fly likes How to know about file? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to know about file?" Watch "How to know about file?" New topic

How to know about file?

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 234
Hi all,

How can I be assured that my application is getting file residing in WEB-INF directory from an Action class?

Actually in my application file is under WEB-INF directory, and in my-struts-config.xml file it configured as below.

But I think application is not getting it from Action class.

Thanks in Advance,
David Newton

Joined: Sep 29, 2008
Posts: 12617

Put a known value in the resource file and display it?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2904

[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
I agree. Here's the link:
subject: How to know about file?
It's not a secret anymore!