File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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,

James
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

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: http://aspose.com/file-tools
 
subject: Web App Ctx