JSF 项目中所有 PortletResponse 的拦截器
我想实现一个拦截器来包围所有 PortletResponses 在 JSF 项目中。
但说实话,我什至不知道从哪里开始。我想 faces-config.xml
或 web.xml
将是一个好的开始。
我们使用 Java6 和 JSF 1.2。
I'd like to implement an interceptor that wraps around all PortletResponses in a JSF project.
But to be honest, I don't even know where to begin. I guess the faces-config.xml
or the web.xml
would be a good start.
We're using Java6 and JSF 1.2.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该查看portlet 过滤器。
IBM 也有一些关于该主题的指南:
http://www-10.lotus.com/ldd/pfwiki.nsf/dx/12162009050022PMWEBTTA.htm
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html
You should have a look at portlet filters.
IBM has some guides on that topic as well:
http://www-10.lotus.com/ldd/pfwiki.nsf/dx/12162009050022PMWEBTTA.htm
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html