File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes rich FileUpload and reRender Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "rich FileUpload and reRender" Watch "rich FileUpload and reRender" New topic

rich FileUpload and reRender

bostian tov
Ranch Hand

Joined: Mar 11, 2010
Posts: 32
I have rich file upload:

When i upload picture for the first time, mediaOutput load this picture, but when i upload new picture, it doesnt rerender. If i refresh site, then i see new picture. What am i doing wrong?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17260

Probably the old image is still in your browser cache. I've had similar problems. Unfortunately, I don't recall what the best solution for that is supposed to be.

An IDE is no substitute for an Intelligent Developer.
Don't get me started about those stupid light bulbs.
subject: rich FileUpload and reRender
It's not a secret anymore!