Yes , I meant that only. passing a random no wont give any problem. For
Netscape I dont know much. I have not tried my jsps on them. Also I am using
the get method not post. because the data I am passing is not much.And post
method doesnt work properly with my jsps.
The another alernative is to use stateful session bean(if you are using
EJB). after each post put the data in the bean and you can access the data
on the next page without any problems.
Ashwani
> ----------
> From: [EMAIL PROTECTED]
> Sent: Friday, February 25, 2000 3:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: refreshing problem
>
> Hi,
>
> >You can use HTTP meta tag pragma cache control for that. But it doesnt
> work
> >100% correctly. For that u have to use some logic like when ever u call
> that
> >page pass one query string variable with a value of unique Number.
> >
>
> Can you explain this? Someone else once told me this. Do something like:
>
> <a href="/path/mypage.jsp?randomValue=<%= somebean.getRandomValue()
> %>">Click here</a>
>
> Is that how it would be done? The person I spoke to said this is an "ugly"
> way of doing it, but it works because each time the value changes, it
> "forces" the browser to load the page from the server, and thus the META
> tag isnt needed.
>
> One problem I am having is that we use multiple JSP pages, each with a
> form
> on them, but all making up one big "sequence" of stuff that needs to be
> entered before a submission is done at the end. Each next page uses the
> choices from the previous page to display info from the database. The
> problem is, in Netscape, the first page is fine, but the next page wont
> print out because the View Source says it was returned with a POST
> operation..etc. Very odd problem. Even with mulitple JSP pages, one going
> to the next, I get this problem. These pages use a JavaBean (session
> scope)
> to set/get data to/from, but I dont see why this is a problem. The funny
> thing is, it only happens when we force the browser to load the pages off
> the server. We use a META tag. When we dont have that tag, it works fine,
> but then we get all kinds of caching problems, such as dynamic pages
> coming
> from browser cache instead of the server, and often times a "time-out" or
> something occurs.
>
> So, if you have any insight on this problem, I would be much appreciated.
> Thanks.
>
>
> Kevin Duffey
> Software Engineer
> [EMAIL PROTECTED]
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html