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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to