You can migrate your original ImageServlet as Struts action : Put servlet code inside execute() method of a new ImageAction class, that sends image byte[] and content-type headers in response, then returns null.
Add an action-mapping for ImageAction (let's say "/image.do") and you will be able to use "/myApp/image.do?imageID=x" Nico. Subject: How to use Struts to show image from database (byte[])? I have images in database. Prior to Struts I use servlet to show image and in JSP or sevlet. I have /myPackage/imageservlet?imageID=1 How to use Struts to show image from database (byte[])? Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]