[opencms-dev] Problem with refresh jsp page

Andrey Almirov almirov at inbox.ru
Tue Jun 10 11:58:01 CEST 2003


Hi all!

I am writing the jsp page, which takes some another jsp page
(template.jsp) in the VFS, makes some substitution in it (in the
template.jsp) and after that just redirects to the template.jsp page.

response.sendRedirect("template.jsp")

All (redirect and  substitution) works fine. But template.jsp
do not always refresh good. Sometime old version loads.

I  turned of flex cache:
flex.cache.enabled=false
flex.cache.offline=false

And I set the no-cache settings in the template.jsp:
<head>
<title>The template</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<%response.setHeader("Cache-Control","no-store");%>
</head>

But it doesn't work.

Any help would be appreciated.

Many thanks, Andrey




More information about the opencms-dev mailing list