P
P
parkito2016-08-18 22:14:10
Java
parkito, 2016-08-18 22:14:10

How to run JSF on Tomcat?

Hello. Please help me solve the problem. I want to run a simple JSF application in Tomcat using Intellij IDEA.
What I do:
1) Create a new Web-Aplication/JSF project
2) Config specifies Tomcat and the project-war artifact
3) Launch and go to localhost:8080/index.xhtml
However, instead of HelloWorld, I see HTTP Status 404 - /index.xhtml
What am i doing it wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danila, 2016-08-19
@Ke1eth

Well, for starters:
it should not be localhost:8080/index.xhtml, but localhost:8080/APPLICATION_NAME/index.xhtml,
where APPLICATION_NAME is the name of the war

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question