JSP Refresh problem

Guys,

i had a jsp file that will create a jpeg file and display the created jpeg file. My problem is the jsp file failed to display the updated jpeg file. The jsp file will always display the previous created jpeg even i had try to force the jsp file to auto refresh once. I need to configure the jsp file to auto refresh 100 time or refresh time to 5 second to take the effects. This solution really not a good idea. Can any of your help me to solve the problem? Thanks in advance.

[496 byte] By [ccwoon80a] at [2007-11-27 9:52:57]
# 1
after creating the jpeg file redirect to the same jsp.example:<%String redirectURL = " http://hostname.com/jpegcreator";response.sendRedirect(redirectURL);%>hth
java_2006a at 2007-7-13 0:22:02 > top of Java-index,Java Essentials,New To Java...
# 2
Use:<meta http-equiv="refresh" content="10;url=login.jsp">here 10 - time in secs after which page refresh should happen. and url is the url which should be loaded after that!!
vinayak_ra at 2007-7-13 0:22:02 > top of Java-index,Java Essentials,New To Java...