Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Rig project that has a Rig.xml deployed inside tomcat and looks as follows.

<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="C:\Workspaces\Jan2013\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Rig" path="/Rig" reloadable="true" source="org.eclipse.jst.jee.server:Rig"/>

I would like to have another Context that would look something like this

<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="C:\Work\images" path="/images" />

So that i can have the images in the path shown above and retrieve them onto my jsp using /images/FILENAME. How can i accomplish this? Any help would be appreciated. Thanks in advance. Nikhil

share|improve this question

Almost done, just create "C:\Work\images" and the new context will be available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.