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 2001/02/07 02:17:49 UTC

[Bug 428] New - JSP tags names must be valid variable names BugRat Report#738

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

*** shadow/428	Tue Feb  6 17:17:49 2001
--- shadow/428.tmp.24145	Tue Feb  6 17:17:49 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | JSP tags names must be valid variable names BugRat Report#738              |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 428                         Product: Tomcat 4                |
+ |       Status: UNCONFIRMED                 Version: 4.0 Beta 1              |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Jasper                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: Justyna.Horwat@eng.sun.com                                   |
+ |  Reported By: anonymous-bug@cortexity.com                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ On Tomcat 4.0b1 it appears that tag names must be valid Java variable names.
+ So a tag cannot be named like:
+   <mytags:set-counter>1</mytags:set-counter>
+ 
+ Exception reported:
+ org.apache.jasper.JasperException: Unable to compile class for JSP..\work\localhost\lh-app\_0002fToc_0002ejspToc_jsp_0.java:126:
+ Invalid expression statement.
+               _jspx_th_get-folder-attribute_0.setPageContext(pageContext);
+ 
+