File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes How access web application use root context? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How access web application use root context?" Watch "How access web application use root context?" New topic

How access web application use root context?

yanhe shi

Joined: Mar 26, 2003
Posts: 1
I deploy a web application example.war on Jboss 3.06&Tomcat4.1
but I can only access the jsp files as http://localhost:8080/example/index.jsp
I want to access the file like that:
what need I do? Thanks
[ April 17, 2003: Message edited by: yanhe shi ]
sanjay kalsi

Joined: May 01, 2003
Posts: 4
In your application dir make WEB-INF dir and put jboss.xml file with contents
and then make the war.
Then you will be able to access all your jsp file
with url http://localhost:8080/xyz.jsp
and you dont have to type http://localhost:8080/examples\xyz.jsp

Please let me know
shilpa A G gupta

Joined: May 02, 2003
Posts: 4
i tried with jboss.xml..
but it' doesn't seem to work.
few doubts..
1] this jboss.xml should be in my context
along with web-inf rt?
2] and is it okey to mention the servlet /jsp web.xml also .
3] could u plz send the complete content of ur jboss.xml plz
thx ..
[ May 06, 2003: Message edited by: shilpa A G gupta ]
I agree. Here's the link:
subject: How access web application use root context?
jQuery in Action, 3rd edition