Re: Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
im sorry this is wrong: < img src="${imgURL}" alt="img" width="40", height="40"/> its like: < img src="/imageview/somepath" alt="img" width="40", height="40"/> where somepath is the absolute path for the generated image. imageservlet was supposed to retrieve the local image to the page

Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
I have an imageservlet used to server dynamic images with the following mapping in the web.xml file: ImageViewer /imageview/* >From within my JSP I can call the servlet using the include tag: but when I try to access it from an img it fails.