Skip to content
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

Automatic extensionless mapping does not work on Java Facelet #5362

Closed
hantsy opened this issue Nov 20, 2023 · 0 comments
Closed

Automatic extensionless mapping does not work on Java Facelet #5362

hantsy opened this issue Nov 20, 2023 · 0 comments
Milestone

Comments

@hantsy
Copy link
Contributor

hantsy commented Nov 20, 2023

Jakarta EE 10/Faces 4.0/Glassfish, example project: https://github.com/hantsy/jakartaee10-sandbox/tree/master/faces

Given Facelet written in pure Java:

@View("/hello-facelet.xhtml")
@ApplicationScoped
class HelloFacelet extends Facelet{
}

I have enabled automatic extensionless mapping in web.xml.

When deploying to Glassfish,

mvn clean package cargo:run

open a browser to navigate http://localhost:8080/faces-examples/hello-facelet, it does not work.

I have to append the .xhtml in the url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants