Hi
I have a webapplication with JSPs and
Servlets. Now I want that to be working in
JBoss app server. I made it as WAR file but the problem is in address bar I am getting that two times for getting index.jsp file. Here is the exmple scenario.
1. I have
test as
test as webapplication and I want to make it as WAR file so that it can be deployed in Jboss Deploy folder.
2. I am using this command to make WAR file. (test is in D drive.
d:\ jar -cvf test.war test/
3. Now I am keeping that test.war in JBoss/server\default\deploy folder.
4. In server console it is giving following error
10:29:19,452 INFO [Engine] Internal Error: File /WEB-INF/web.xml not found
10:29:19,452 INFO [MainDeployer] Successfully completed deployment of package
file:/D:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/test.war
5. I typed
http://localhost:8080/test. It is giving direcory listing of test folder access. When I click on test again then it is displaying index.jsp like this in address bar
http://localhost:8080/test/test/index.jsp Can any one help to avoid this repetetion... It is very urgent for me.
Thanks for your help and time in advance
Srinivas Ivaturi