This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cache Problem in Browser -Firefox

 
Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

BACKGROUND :
---------------------------------------------------------------------------
I have a jsp page and in it there is a blank form as follows
<form name="myForm"></form>

the rest of the page is out side the form ,We are using dojo there .

Now for the outside of myForm there is a button .

on click of the button I am providing the following code




The giveMeData() will give me a string data and I am sending that data to a servlet and user can download that data in a .csv format .
---------------------------------------------------------------------------


PROBLEM:
I can download the data correctly but

I want to be sure that the data I am sending to servlet is not a cache data ,That is each time I hit the button it will return the fresh data from the giveMeData() function . giveMeData() is collecting the data from a table
which is not editable(a dojo grid)of the jsp .Later the table becomes editable so on that time my code should run properly .
 
Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forget to tell you that I have added the following code in my jsp



But No luck .. Can you please help..
 
Monoj Roy
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry once again ,Actually I have used the myForm to send the data to servlet
as follows
document.myForm.action=URL ;
document.myForm.submit();
where URL contains the data .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic