hi guys,
i have deployed a jsp file in a .war file .eg.
helloworld.jsp packed in the hello.war.
so the default calling url of the jsp page is :
http://host/hello.war/helloworld.jsp.
how can i change the calling url to http://host/hello.jsp?
it means i dont want to the war file name in the url.
thx in advance.
create a file called jboss-web.xml which contains the following and put it under WEB-INF
<?xml version="1.0"?>
<!DOCTYPE jboss-web>
<jboss-web>
<context-root>/</context-root>
</jboss-web>