aspose file tools
The moose likes JSP and the fly likes Problem in showing picture on jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Problem in showing picture on jsp page" Watch "Problem in showing picture on jsp page" New topic
Author

Problem in showing picture on jsp page

ehsan dar
Greenhorn

Joined: Aug 21, 2006
Posts: 18
I made a page in which i upload the picture and shown it in the same page. First time when i upload picture it shown on the page sucessfully but when i upload the picture again it can't appear until i refresh the page. Any body suggest me what i do.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

You may try to prevent caching :
http://faq.javaranch.com/view?NoCacheHeaders


[My Blog]
All roads lead to JavaRanch
ehsan dar
Greenhorn

Joined: Aug 21, 2006
Posts: 18
I already done that but no use, basically i am using two form in a page. First form is used for edit some record it refresh automatically but in the second form page is not refresh automatically.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

You will either need to show us your code or describe, in detail, what you have done in order for anyone on this list to help you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem in showing picture on jsp page
 
Similar Threads
How to read picture taken time from JPEG
CLASSPATH setting problem
File Upload -- comments not shown with pictures
getting value of jsp page in servlet
problem of displaying updated image after his modification