• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Cache Problem in Browser -Firefox

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic