tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JDunn <>
Subject Re: I don't want cached pages
Date Fri, 19 Jan 2001 21:11:51 GMT
Why don't you unroll the loop ?
I assume that you want recursive calling to go only one level deep,
so copy the firstPahe.jsp to secondPage.jsp
They contain the same code .
firstPage calls secondPage.
It's probably safer also- no possibility of infinite loop if there
a bug.

If there's a lot of code - offload it into a servlet and call the servlet
from the jsp's.

View raw message