This will enable Tomcat to serve up static content (like html, images etc) from a directory /home/anil/benchmark and the url will be "http://localhost:8080/benchmark"

Serving Static External Files in recent 4.x versions of jboss

This works for Jboss 4.2.x and probably other versions as well.

Step 1 (optional): Copy a default web.xml from <JBOSS_HOME>/server/<config-name>/deploy/http-invoker.sar/invoker.war/WEB-INF and place it in your external directory, for example: /home/pgib/images/WEB-INF

Step 2: Edit <JBOSS_HOME>/server/<config-name>/deploy/jboss-web.deployer/server.xml and add a Context element under Host.(Step similar to standalone TC)