Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Web Application root context issue Maven / Tomcat

 
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hello:

I have an issue with my web application's root context URL.
I use maven to build the war file and i get the war file with the name WebApp-0.0.1-SNAPSHOT.war
I can only access the application with the URL http://domain:8080/WebApp-0.0.1-SNAPSHOT/faces/secured/index.xhtml
But i want to access it in a consistent way like http://domain:8080/WebApp/faces/secured/index.xhtml
how to keep the root context url consistent.

thanks
Aadil
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Answer is given in other thread: https://coderanch.com/forums/t/665558/JSF/java/tomcat-web-application-root-context. Please do not post the same question twice.

Locking this thread
 
    Bookmark Topic Watch Topic
  • New Topic