I removed all the caching code in the jsp files and now the jsp's look like
the following:

DEFAULT.JSP:

<%!
static int x = 0;
%>
<% System.out.println("EXECUTING DEFAULT.JSP: x=" + x);%>
<%="This is default.jsp: x=" + x++%>

TEST.JSP:

<%!
static int y = 0;
%>

<% System.out.println("EXECUTING TEST.JSP: y=" + y);%>
<%="This is test.jsp: y=" + y++%>

I am still getting duplicate requests coming from default.jsp on every
invocation of a jsp file.  Here is what I am seeing in the console window
after running first accessing http://localhost/  and then issuing a request
for http://localhost/test.jsp .  After each request you can see the
duplicate request coming from default.jsp

C:\Prog\java\orion1_5_2>java -jar orion.jar
Orion/1.5.2 initialized
EXECUTING DEFAULT.JSP: x=0
EXECUTING DEFAULT.JSP: x=1         <-- Duplicate request
EXECUTING TEST2.JSP: y=0
EXECUTING DEFAULT.JSP: x=2         <-- Duplicate request


Reply via email to