Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Override RenderingManager
Bowker
Anyone know how I can override RenderingManager.handleInvalidSite() or RuntimeRenderingManager.handleInvalidSite()?
I would rather not decompile/modify/recompile IWOV code...
Find more posts tagged with
Comments
Bowker
Ok so I didn't need to override that method.
What I was ultimately looking for was the original URL requested.
In InvalidSite.jsp I got what I needed by:
String URI = request.getAttribute("javax.servlet.forward.request_uri").toString()
String protocolHost = request.getRequestURL().toString().split(request.getRequestURI())[0];
String QS = request.getAttribute("javax.servlet.forward.query_string").toString();
QS = (QS == null) ? "" : "?" + QS;
String originalRequestedURL = protocolHost + URI + QS;
Hope this helps someone in the future.
Crsb
This is very useful, thanks!