I
found the solution
rtfm
did the trick :)
for
future reference: add the following code to your jsp:
<%
JahiaData jData = (JahiaData) request.getAttribute(
"org.jahia.data.JahiaData" );// get the parambean
ParamBean jParams = jData.params();
jParams.setCacheExpirationDelay(0);
%>
-----Original Message-----
From: Nicolas Pottrain
Sent: vrijdag 3 november 2006 9:14
To: [email protected]
Subject: jsp caching problemHello everybody,I have a question regarding the caching of the html my jsp template produces.I have the following template:<%@ taglib uri="/WEB-INF/etc/taglibs/jstl/c" prefix="c" %><c:choose><c:when test="${param.id != null }">id = <c:out value="${param.id}"/></c:when><c:otherwise>No id found</c:otherwise></c:choose>The first request works fine, jsp is executed and the result is correct.But all the following requests return the same html as the first request did, even if I change the url parameters (for ex, changing the value of the parameter id)If I add /cache/off to the url, then the jsp works just fine.Is there a way to disable the caching of the html output this jsp produces?Note: above example is a testcase template, I would like to use this logic in the news template from the corporate_portal_v2 template set, to show a detailed viewof a news item when the parameter newsContainerId is set in the link(when coming from the news box)Configuration: jahia 5.0.0 standard edition on WinXP/ Java 5Kind regards,Nicolas
