File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 237
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?
jQuery in Action, 3rd edition