Re: Cannot call servlet from portlet using img tag

2008-10-09 Thread Laurie Harper
daiyna wrote: 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 ima

Re: Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
h for the generated image. imageservlet was supposed to retrieve the local image to the page -- View this message in context: http://www.nabble.com/Cannot-call-servlet-from-portlet-using-img-tag-tp19883653p19890900.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Cannot call servlet from portlet using img tag

2008-10-08 Thread Laurie Harper
daiyna wrote: 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: What does that do? It makes no sense to

Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) im using struts 2.1.2 -- View this message in context: http://www.nabble.com/Cannot-call-servlet-from-portlet-using-img-tag-tp19883653p19883653.html Sent from the