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

Custom WebAppContext #141

Open
lukaszlenart opened this issue Nov 14, 2024 · 2 comments
Open

Custom WebAppContext #141

lukaszlenart opened this issue Nov 14, 2024 · 2 comments

Comments

@lukaszlenart
Copy link

I'm trying to integrate Sitemesh 3 with incoming Apache Struts version 7.0.0, yet there is no way to provide either a custom WebAppContext (to be able to override getPath()) or some other mechanism to select current path.

@codeconsole
Copy link
Member

Hello @lukaszlenart,

Are you able to provide a very basic runnable sample application?

@lukaszlenart
Copy link
Author

Here is an example app and PR trying to play with different decorators for different paths - Struts 7 isn't released yet and I temporary resolved issue by setting

request.setAttribute(RequestDispatcher.FORWARD_SERVLET_PATH, finalLocation);

see WW-5463 and the PR

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