| Author |
how to stop image being chached in browser in jsf
|
Mahendra Pratap
Ranch Hand
Joined: Feb 25, 2008
Posts: 42
|
|
Hello guys,
first of all Greetings for the day!
Actually my problem is i have a jsf page on which i am displaying an image and some other data, i have one edit button too.
If user click on edit he can change the data, that all is working fine, what exactly my problem is when user changes the image then the changed image is not getting displayed.
i am using tomahank's uploadedFile tag.
i think the previous image is getting cached in browser.
Any sort of help will be appreciated.
Regards,
Mahendra
|
Mahendra
http://randomtechieblog.blogspot.com
|
 |
Mahendra Pratap
Ranch Hand
Joined: Feb 25, 2008
Posts: 42
|
|
I am using same name for the old and new image file. That's why browser is not displaying newly uploaded image. I am saving the image in a directory in HDD.
Regards,
Mahendra
|
 |
 |
|
|
subject: how to stop image being chached in browser in jsf
|
|
|