-1
I have a project with the following link http://localhost:8080/Reliability/Home.xhtml . It turns out that the real name should be http://localhost:8080/Previoussales/Home.xhtml where I could change my name in Eclipse?
-1
I have a project with the following link http://localhost:8080/Reliability/Home.xhtml . It turns out that the real name should be http://localhost:8080/Previoussales/Home.xhtml where I could change my name in Eclipse?
3
This varies depending on the server.
The context root
in the project properties. For this, access the project properties (ALT + ENTER) and select Web Project Settings:
In the case of Jboss it is necessary to add the file jboss-web.xml
inside WEB-INF
with the content:
<jboss-web>
<context-root>PrevisaoVendas</context-root>
</jboss-web>
For the other servers I do not know how it works. I always handled these two only.
0
Inside the archive pom.xml
you can find these settings, just modify:
<groupId>br.com.home</groupId>
<artifactId>PrevisaoVendas</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<name>PrevisaoVendas</name>
@diegofm encotra? Got the flu?
@Blogger was not my mistake, it was the author, I only removed the snippet.
Browser other questions tagged java eclipse
You are not signed in. Login or sign up in order to post.
Do you want to change the context from Trust to Forecast to Right Sales? Which server are you using?
– josivan
I’m doing Tomcat 8.5
– user2509556