All content for a webapplication should be inside the WAR file. What content are you referring to?
I'm asking if it's possible to access content outside of deployment area.
Let me explain why would I need such a thing.
It seems a little overkill to do a build for every little content change. Specially if the site is very dynamic and the content changes every 5 minutes (but the java code does not change at all), also the content is stored in CMS(content management system) like documentum for instance and controlled not by the programmers but business people (unfortunately doing a build and then deploying it is beyond their abilities).
Is this a common business case? I hope I'm not the only one having to deal with this situation.
This is certainly possible in Jetty.
You need to use a proprietary jetty descriptor (WEB-INF/jetty-web.xml) to attach extra resources to your webapps context - or you can just specify a new context in your jbossweb.sar/META-INF/jboss-service.xml.
There was a thread about exactly this on this forum recently - look back for it. Or you could look on jetty.mortbay.org or documentation.
I will try to get an answer into my FAQ and post it here within the next couple of days.
can you please refer me to the discussion on this forum, sorry I can't find it.