someone plz tell me if it is possible to do this.
All you need do is to change attribute which is jboss_service.xml:
As I successed in Jboss 3.2.1, if you have a directory like this:
then you should change the jboss-service.xml to following:
then you can access this by http://localhost/test/