maybe you can show us a little bit of the code?

On 2/7/06, zahid mohammed <[EMAIL PROTECTED]> wrote:
>
> Thanks Leticia.........I have tried to deceive the browser by appending a
> parameter which has a random number  this way
>
> /GetOtherSet.do?rand='+parseInt(Math.random()*99999999);
>
> BUT IT DOES'NT HELP..........Surprisingly when I print the elements on the
> console using System.out.println in the jsp.......I get the new set of
> elements every time which is rite. But while displaying it in the jsp page
> IE displays the old items..........Why is it??
>
> Thanks once again,
> Struts Programmer.
>
> On 2/7/06, Letícia Álvares Barbalho <[EMAIL PROTECTED]> wrote:
> >
> > I had a similiar problem with IE. Here goes how I solved it:
> >
> > *<jsp:useBean* id="now" class="java.util.Date"* />
> > *
> > /MyApp/getPedido.do?id=*<fmt:formatNumber* value="*${*now.time*}*" */>*
> >
> > The first line is obviously including the bean, while the second is
> > what comes in my link, calling the action.
> >
> > As you see I created a auxiliar parameter to make IE think that
> > something new is coming.
> >
> > That was the only way I found to solve this problem: deceiving the
> > browser.
> >
> > Yeah. I hate IE too.
> >
> > Hope it's helpful.
> >
> >
> > On 2/7/06, zahid mohammed <[EMAIL PROTECTED]> wrote:
> > >
> > > Thanks for the reply Brady........I have cleared the cache and tried
> all
> > > the
> > > options for "Check for newer versions of stored settings." ----"Every
> > > visit
> > > to page" and "Automatically". Even then its not working. If its the
> > Apache
> > > setting problem then why is it working fine in Firefox. Could you
> please
> > > let
> > > me know the setting change in Apache. I am really frustrated with this
> > IE
> > > caching problem. Someone out there please HELP!!!
> > > Thanks,
> > > Struts Programmer.
> > >
> > > On 2/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > >
> > > > You might try changing the "Check for newer versions of stored
> > > settings."
> > > > As described in the following URL.
> > > >
> > > >
> > >
> >
> http://www.microsoft.com/windows/ie/using/howto/customizing/clearcache.mspx
> > > >
> > > > It should either be "Every visit to page" if that's what you have
> now
> > > try
> > > > "Automatically".
> > > >
> > > > If that's the problem there also may be a setting in Apache that
> fixes
> > > or
> > > > works around the issue.  I had a similar problem with a servlet
> awhile
> > > > back and the a fix was to make the change in Internet
> > > Exploerer.  However
> > > > the problem resolved itself in some unknown way while we were
> working
> > on
> > > a
> > > > better solution.
> > > >
> > > > Brady
> > > >
> > > >
> > > > >  Hello All,
> > > > > We have a struts application and the server is Tomcat 5.5. I have
> an
> > > > > ArrayList (A) set in session and an Arraylist (B) which is a
> subset
> > of
> > > A
> > > > > set
> > > > > in request. The ArrayList B always has 10 elements and I use this
> to
> > > be
> > > > > displayed in the jsp page using Logic:iterate tag. The first page
> > > > displays
> > > > > the arrayelements of List B from request, and when the user clicks
> > > next
> > > > a
> > > > > different action is called which selects a particular subset from
> A
> > > and
> > > > > puts
> > > > > it in B and forwards to the same Jsp page to be displayed there.
> The
> > > > next
> > > > > page is working fine in Firefox and displays the new set of
> elements
> > > but
> > > > > in
> > > > > IE 6.0 it displays the old set of elements, it doesnt get changed.
> I
> > > > have
> > > > > placed <% response.setHeader("Cache-Control","no-cache"); //HTTP
> 1.1
> > > > > response.setHeader("Pragma","no-cache"); //HTTP 1.0
> > > > > response.setDateHeader("Expires",
> > > > > -2000); //prevents caching response.setHeader
> > > > ("Cache-Control","no-store");
> > > > > //HTTP 1.1 %> on the top of the jsp and also <META
> > HTTP-EQUIV="Pragma"
> > > > > CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <META
> > > > > HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> in the head. I have
> > > also
> > > > > placed <controller nocache="true"></controller> in the
> > > > > struts-config.xml........Even after doing all these its not
> working
> > in
> > > > IE
> > > > > 6.0. But everything is fine in Firefox. I have been trying to
> solve
> > > this
> > > > > problem from 2 days.
> > > > > Please HELP!!!
> > > > > Thanx,
> > > > > Struts Programmer.
> > > > >
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Letícia Álvares Barbalho
> > [EMAIL PROTECTED]
> >
> >
>
>


--
Letícia Álvares Barbalho
[EMAIL PROTECTED]
  • Re: IE Caching problem..Struts Application Work... Letícia Álvares Barbalho

Reply via email to