File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes serving images - mappings question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "serving images - mappings question" Watch "serving images - mappings question" New topic

serving images - mappings question

Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154

I'm using JBoss 3.2.3 with the embedded Tomcat Servlet Engine, I want to serve images from a SERVER-INF/images directory and also write PDF out to a SERVER-INF/pdf directory. I,ve used JRun before where you can specify virtual path pattern mappings, am I right in assuming that if I put the following entries in the jboss-service.xml

I'll get the same effect? does the docbase have to be an absolute path or is it taken to be relative to the web context root?

TIA Graham [/CODE]
I agree. Here's the link:
subject: serving images - mappings question
jQuery in Action, 3rd edition