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

http://issues.apache.org/bugzilla/show_bug.cgi?id=29718

include page with org variable

           Summary: include page with org variable
           Product: Tomcat 5
           Version: 5.0.25
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Exception:
cannot resolve symbol
symbol  : variable apache 
location: class java.lang.String
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, 
response, "mytable.jsp", out, false);

--description-------------------------------------
caused from the variabile "org" in correspondence of
<[EMAIL PROTECTED] file="myinclude.jsp"%>
note 
without the 
<jsp:include page="mytable.jsp"/>
the error not occured
tested on Linux and Windows2k - tomcat version 5.18 and 5.25 
-------------------------------------------------

this is an example...
/----------------file index.jsp-----------------
<[EMAIL PROTECTED] contentType="text/html;charset=UTF-8"%>
<[EMAIL PROTECTED] file="myinclude.jsp"%>
<html>
  <head>
    <title>try</title>
  </head>
  <body>
        <h1>Hi all</h1>
         <jsp:include page="mytable.jsp"/>
  </body>
</html>
//-------------end-file index.jsp----------------


//----------------file myinclude.jsp-------------
<%
//this page make a little test of user instance ...
 
String org = new String("prova");
// the problem look like this name instance "org"
%>
//------------end-file myinclude.jsp-------------


//----------------file mytable.jsp-------------
<table>
        <tr>
                <td>&nbsp</td>
                <td>&nbsp</td>  
        </tr>
</table>
//----------------file mytable.jsp-------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to