jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lach, Thierry" <Thierry.L...@pentamark.com>
Subject ECS 1.4.1 - How to use Link ?
Date Thu, 21 Feb 2002 18:27:48 GMT
I want to generate a link to a stylesheet in an HTML.

I'm currently doing the following:

<clip>

import org.apache.ecs.html.*;

<skip/>

    head head = new Head();
    head.addElement(new Link().setRel("stylesheet")
                              .setType("text/css")
                              .setTarget("mystylesheet.css"));
    head.addElement(new Title("My Title"));
</clip>

But I don't see the <link/> in the output.  I am seeing the title as
expected.


-----------------------------------------------------------
Thierry Lach
InterOne Marketing Group
PentaMark Worldwide Inc.
Business:  thierry.lach@pentamark.com
Home: tlach@ameritech.net
Phone: (248)293-4715


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message