• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSPs calling an old version of swf file, that isn't in the webapps folder

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a JSP file that is calling a SWF file under the same directory as the JSP. The problem is when I make changes to the SWF file the JSP file still somehow retrieves the old version. I believe this is a caching problem, but regardless need help solving it.

I'm using IE 7 and Firefox

I've deleted all interent files and set the cache size of both browsers to the minimum size in hope to flush out any cached files.

Folder structure:
swf:
Tomcat5.0\webapps\myapp\swf\score.swf
jsp:
Tomcat5.0\webapps\myapp\getScore.jsp

I have verified that the changes appear in the SWF file in the directory shown above and verified that the JSP file is calling that file name with that exact path. But somehow finds the old version still there.

I have deleted the folders completely and replaced them, as well as restarted the service multiple times. I'm stuck, so any advice or discussion is greatly appreciated.

Thanks
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you sure it's not the browser or the player that's caching the files?
 
Kyle Andres
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm 99% positive that its not the browser caching the files because I've deleted all of IE's cache and have never accessed the website via Firefox. The first time with firefox was after the changes were made so it never saw the older .swf files.

I'm not sure what you mean by the "player"? So that may be the issue, how can I stop it from caching or delete its cache contents?

Thanks
 
Kyle Andres
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One reason that makes me believe its not the player either is because when I type the direct path of the .swf file in my browser it shows the changes, but when i call it from the jsp file it brings up the older version.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using Firefox, then you could download the Live HTTP Headers add-on. It will show you whether Firefox is downloading the file or not.
 
Kyle Andres
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll check out the headers, but both browsers are dl'n new versions of all other pages/file types except the .swf files
 
Kyle Andres
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the help, but it turned out it was a database issue and not a server issue.
reply
    Bookmark Topic Watch Topic
  • New Topic