File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2 : Displaying image in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 : Displaying image in jsp" Watch "Struts2 : Displaying image in jsp" New topic

Struts2 : Displaying image in jsp

Poonam Dhatavkar

Joined: Jan 11, 2013
Posts: 19
Hello Ranchers..
I want to display an image (Bar chart image created with the help of java class using jfreecharts) .jpg format in jsp, can anyone give me idea how to do it ??
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

The same way you would do it with HTML, the IMG Tag.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Struts2 : Displaying image in jsp
It's not a secret anymore!