tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25049] New: - Recognition of Declaration Tags
Date Thu, 27 Nov 2003 12:14:23 GMT
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=25049>.
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=25049

Recognition of Declaration Tags

           Summary: Recognition of Declaration Tags
           Product: Tomcat 5
           Version: 5.0.2
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yananthkumar@yahoo.co.in


in Jsp pages
  The declarations <%! //code.. %> are not working fine.
  
   IN the declaration code i declared some variables and used the same 
variables in scriplets,server could not able to compile the code .The exception 
i got (SERVER could not find the declaration). here is one snap shot
     
   declaration
       <%!
    boolean             mDebug;
    JspWriter           mOut = null;
    Locale              mLocale = null;
    String              mScreenName = "";
    MessageResources    mMessages = null;
   %>
    scriplet

      <%
           mDebug=true;
           similarly all other variables
       %> 
    
    while compiling the server could not detect my variables declared.     
  
  The same piece of code is working fine in Tomcat 4.1 very well.
  
    can anyone help me how it has to be handled in tomcat 5.0

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message