Hi.

I have found a solution to my problem.

In web.xml (webapp)/WEB-INF/web.xml I changed:

<taglib-uri>http://jakarta.apache.org/taglibs/image-1.0</taglib-uri>

to

<taglib-uri>TEST</taglib-uri>

and now it is working...


Lars Nielsen Lind

-----Original Message-----
From: Lars Nielsen Lind [mailto:[EMAIL PROTECTED] 
Sent: 24. oktober 2004 17:50
To: 'Tomcat Users List'
Subject: RE: Jakarta-Tomcat and Image Tag Library

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:[EMAIL PROTECTED] 
Sent: 24. oktober 2004 16:27
To: 'Tomcat Users List'; [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to