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

Create DefaultUrlResolver.java #2539

Closed
wants to merge 1 commit into from
Closed

Create DefaultUrlResolver.java #2539

wants to merge 1 commit into from

Conversation

wuwx
Copy link

@wuwx wuwx commented Mar 18, 2023

Add ContextPath to url if application run with ContextPath value

Add ContextPath to url if application run with ContextPath value
@leleuj
Copy link
Member

leleuj commented Mar 20, 2023

You can't do that. You cannot cast to JEEContext in the DefaultUrlResolver.

Though, you can use the getPath() method from the WebContext interface.

@leleuj leleuj closed this Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants