aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 9317
    
109

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
 
Similar Threads
Please help for Context root
whats wrong with this code?
Obfuscation
Forward to JSP outside of war
Context and WAR file