tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Nielsen Lind" <moo...@worldonline.dk>
Subject RE: Jakarta-Tomcat and Image Tag Library
Date Sun, 24 Oct 2004 15:49:39 GMT
Hi.

I have now located an error msg in jakarta-tomcat:


StandardContext[]ImageTag error: Cannot get ../../../images/employees/<%=
employee_image %>
StandardContext[]The exception was: 
- Javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found


Lars Nielsen Lind


-----Original Message-----
From: Lars Nielsen Lind [mailto:moonie@worldonline.dk] 
Sent: 24. oktober 2004 16:27
To: 'Tomcat Users List'; bsouther@fwdco.com
Subject: RE: Jakarta-Tomcat and Image Tag Library

Hi.

It was not that...

I also have tried with this, but it will not display any images...

<img:image
	src="../../../images/employees/<%= employee_image %>"
	name=<%= employee_image %>>

	<img:resize scale="50%" />
</img:image>

Lars Nielsen Lind

-----Original Message-----
From: Ben Souther [mailto:bsouther@fwdco.com] 
Sent: 24. oktober 2004 16:19
To: Tomcat Users List
Subject: RE: Jakarta-Tomcat and Image Tag Library

Not familiar with the tag-lib but try:
 src="images/employees/<%= employee_image %>"

NOTE: no "/" at the beginning of the relative url



On Sun, 2004-10-24 at 10:13, Lars Nielsen Lind wrote:
> Hi.
> 
> I use:
> 
> Jakarta-Tomcat-5.0.25
> J2SDK1.4.2_04
> Image Taglib 1.0 (from binaries)
> 
> There is no error msg.
> 
> I have copied taglibs-image.jar to /WEB-INF/lib.
> I have copied pjatools.jar to /WEB-INF/lib
> I have copied com.mullasseny.imaging... to /WEB-INF/classes/com/...
> I have copied taglibs-image.tld to /WEB-INF
> 
> I have added the following lines to /WEB-INF/web.xml:
> 
> <taglib>
> 	<taglib-uri>http://jakarta.apache.org/taglibs/image-1.0</taglib-uri>
> 	<taglib-location>/WEB-INF/taglibs-image.tld</taglib-location>
> </taglib>
> 
> 
> At the top of the *.jsp page:
> 
> <%@ taglib uri=http://jakarta.apache.org/taglibs/image-1.0 prefix="img" %>
> 
> Below at the same *.jsp page:
> 
> <img:image
> 	src="/images/employees/<%= employee_image %>"
> 	name=<%= employee_image %>
> 
> 	<img:resize scale="50%" />
> </img:image>
> 
> 
> 
> Lars Nielsen Lind
> 
> 
> 
> 
> -----Original Message-----
> From: QM [mailto:qm300@brandxdev.net] 
> Sent: 24. oktober 2004 15:56
> To: Tomcat Users List
> Subject: Re: Jakarta-Tomcat and Image Tag Library
> 
> On Sun, Oct 24, 2004 at 03:42:28PM +0200, Lars Nielsen Lind wrote:
> : I am having some trouble making the Jakarta Image Tag Library work. I do
> as
> : outlined in the documentation but I am not apple to display any images.
> 
> As we're not clairvoyant, you'd do well to provide details if you want
> help:
> 
> - what "documentation" did you read?  If you provide the URL(s), someone
>   here may notice those docs are out of date
> 
> - what version of Tomcat do you use?
> 
> - what version of the Image taglib do you use?
> 
> - what error message do you get, if any?
> 
> - what's the source of the JSP that calls the taglib?
> 
> etc., etc.
> 
> -QM


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message