tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "petra staub" <cal...@hotmail.com>
Subject Re: JSTL import question
Date Tue, 08 Oct 2002 08:25:10 GMT
sorry...me again...

the code example was cut off. here another try...

header.jsp:
----------
<%@ taglib prefix="c" uri="/WEB-INF/tlds/jstl/c.tld" %>
<head>
    <title><c:out value="${param.titleString}" /></title>

    <c:out value="${param.jScript}" />

</head>

some jsp file with javascript code:
----------------------------------
<%@ taglib prefix="c" uri="/WEB-INF/tlds/jstl/c.tld" %>

<html>

<head>
<c:import url="header.jsp" >
    <c:param name="titleString" value="My Title" />
    <c:param name="jScript">
    <script language="JavaScript" type="text/javascript">
    <!--
    	>>>>> here is some javascript <<<<<
    //-->
    </script>
    </c:param>
</c:import>

<body>
...
...

_________________________________________________________________
Werden Sie Mitglied bei MSN Hotmail, dem größten E-Mail-Service der Welt: 
http://www.hotmail.com/de


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message