yes, set the context-root attribute in the jboss-web.xml file.
What you mean is that I should add these code you mentioned but not just modify, right??
I found this file in 3 places,and which is the right file i should modify??
Actually i did NOT found the code you mentioned at all. Thanks again.