Image rendering best practice

2002-10-12 Thread Mohan Radhakrishnan
Hi, I am looking for some advise about rendering images in my JSP pages. Could it be done with the help of tag libraries? My tag libraries don't connect with the database directly. So I use DTO's. They contain the image and data for reports. How do you usually include image data in DTO's ?

Re: Image rendering best practice

2002-10-12 Thread Kris Schneider
It sounds like you're thinking that the image data is somehow embedded in the JSP, but this works like any "normal" HTML page. In HTML, you access images by making a separate request for them through the IMG element and its src attribute. So, what might work in your case is to use the html:img