RE: Displaying an image in JSP in struts+tiles project

2010-01-11 Thread Aruna Ponaka
I wrote an action class and it worked. I called the action class like below... img src=" and the struts.xml books ImageAction.java import java.io.OutputStream; import java.sql.Blob; import java.sql.Connection; import java.sql.DriverManager;

RE: Displaying an image in JSP in struts+tiles project

2010-01-05 Thread Kawczynski, David
Being a fan of the KISS policy... I played around with this but didn't have the time to figure it out, so I made the URL spat out by struts2 points to a servlet instead of struts2. (Note that my web.xml has struts2 configured to listen for *.action rather then slash-star) Good luck & please