File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Alternative resource directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Alternative resource directory" Watch "Alternative resource directory" New topic

Alternative resource directory

Dick Dukon

Joined: Feb 26, 2008
Posts: 1

I'm building a web-app using JSF+JSP deployed in Tomcat. In this web-app I want to offer .doc files online. So I want a directory where I can just drag-and-drop these doc files and using a simple search in the web-app(which will look in this directory) to be able to show the contents. But the web-app only sees the subfolders below its root context. And I don't want to include the .doc in the web-app and reload it every time I add a new .doc. Any idea on how to declare this alternative directory?

Consider Paul's rocket mass heater.
subject: Alternative resource directory
jQuery in Action, 3rd edition