阅读背景:

如何检测网页在Web应用程序中使用的jsp

来源:互联网 

I want to detect when an include in a jsp occurs in a web application and specifically which page is being included. I want to do this when the menu page is requested. One option is to overwrite PageContext but it turns out you can't access it anywhere to wrap it. As far as I can see PageContext is the only class which provides include callbacks. I might use a response filter to detect when an include occurs but it doesn't look like that is possible either.I want to detect when an include in a jsp occur




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: