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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
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: 14688
    
  16

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem in showing picture on jsp page