This sounds like it could have something to do with IE's lazy update
feature.
I suppose many of your pages does not cause a problem if run multiple times.
For those pages that can only be run once, make sure to handle this by using
some sort of cookie or session variable.
<%
if (session.get("isRun").equals("true") )
return; //end processing.
//should probably use a redirect to "reloadable" page.
%>
I agree that this is not what you want to do, this should not occur in the
first place. Write microsoft and complain :)
You could probably solve it by using transactions, involving a set of pages.
Accessing a page outside of the transaction-context should throw a not so
nice "No current transaction" and thus letting the container work for you. I
have not tried this approach on Orion, but it works well on Intershops -
Enfinity platform.
//Johan
----- Original Message -----
From: "Robert Johnson" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 8:26 PM
Subject: RE: default.jsp bug (duplicate requests)
> 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
>
>
>