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 Web App Ctx Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Web App Ctx" Watch "Web App Ctx" New topic

Web App Ctx

James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
I have looked on the net, but cannot find an example on how to configure the context of a deployed war file.

What I want is have a war file named xxx.war, but when you start the application you goto /yyy/index.jsp.

I'm not in the position to deploy this within an ear, which would allow me to use jboss web context xml file...

Do anyone know how to acheive this?

Kind regards,

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Try this - in the WEB-INF folder of your war, create a jboss-web.xml containing:

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Web App Ctx
jQuery in Action, 3rd edition