我有一个“j_security_check 连接中断(http 代码 408)”,建议的解决方案是<meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/>
https://stackoverflow.com/a/2141274/1852036但我的页面结构是使用template.xhtml和view.xhtml的组合:我的模板.xhtml:<ui:composition
<html ...
<f:view ...
<h:body ...
<ui:insert name="content">
...
我的 view.xhtml 在session.maxInactiveInterval时刷新
<ui:composition ...
<ui:define name="content">
...
有人可以帮我这样做吗?我想刷新这个<ui:composition
视图,我不能<meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/>
在template.xhtml上使用,因为它被多个视图使用