-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add "welcome-file" configuration example #101
Comments
This is not that easy to do without using additional dependencies. Do you have an idea how to do it the "best" way? |
Sorry for the delayed answer. I've tried 3 approaches:
NOTE: when I've switched to myfaces to mojarra using joinfaces guide, tomcat initialization params were ignored until I included spring web starter. I didn't check if this approach worked without spring web-starter.
|
Using a Spring MVC Controller is an easy solution, but a minimal JoinFaces application does not include Spring MVC. I've implemented a solution using a servlet for the meantime: f0ac4db#diff-2db5361837c74e2115670afe83ee059ca93915e854e8417acf6506a59e74881b |
This sample project returns 404 error when opening localhost:8080.
Most users face the "how do I redirect to welcome page" issue, it would be very useful to have it in this example.
The text was updated successfully, but these errors were encountered: