• Post Reply Bookmark Topic Watch Topic
  • New Topic

page not get refreshed

 
veena sasikumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am facing a peculiar problem in the design of a JSP page. My purpose is to produce a report using iText(Please note, this has nothing to do with my problem). I am using a JSP page through which I enter from date and to date between which I require the report. Once I click on the "View report" button, a javascript function will be executed to submit to an action class(Struts) and the code used for this is




My Problem is that whenever I take a report second time by entereing a new date and time, i am getting the report I had taken the previous time. I am using internet explorer and I have set "every visit to the page" in settings. Also in JBoss server, I experience the problem less often compared to websphere which is my production server.

The variable "dGetTime" is added for making sure that each time of submission, the time will be literally different(i thought, i can solve the problem like this).The use of oldAction and oldTarget is for handling the problem of resubmitting the form.

Thanks in advance
Veena
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a caching issue to me.
 
veena sasikumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it is a caching issue in the server, How can I avoid this?

thanks and regards
Veena
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, it sounds like caching by the browser.
 
veena sasikumar
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have done settngs in internet explorer to send the requests for every visit of a page. Other than this, can i do something in coding level to avoid this caching?

thanks and regards
veena
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!