You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/08/22 22:56:55 UTC

DO NOT REPLY [Bug 11948] New: - param settings are not evaluated with jsp:include, jsp:param

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11948>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11948

param settings are not evaluated with jsp:include, jsp:param

           Summary: param settings are not evaluated with jsp:include,
                    jsp:param
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: trox@grizella.com


When using the jsp:include tag with parameters, the param settings are not 
evaluated in the included page
// Including file:
<jsp:include page="/NASTCHeader.jsp" flush="true">
    <jsp:param name="pageTitle" value="Create Invoice?" />
    <jsp:param name="pageWidth" value="100%" />
</jsp:include>

//Included file
<html>
<head>
  	<title>NASTC TPP Admin--<%= request.getParameter("pageTitle")%></title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#FF0000">
<!-- Header -->

<table width=<%= request.getParameter("pageWidth")%> cellspacing="0" 
cellpadding="2" border="0">

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>