You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ecs-user@jakarta.apache.org by "Lach, Thierry" <Th...@pentamark.com> on 2002/02/20 21:02:14 UTC

ECS 1.4.1 - How to use Link ?

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