I think that the following error message is incorrect:

 - Scripting elements ( <%@, <%!, <%=, <% ) are disallowed here.

Since directives (<%@) are not scripting elements.

I've attached a patch to correct the messages.properties.



Index: messages.properties
===================================================================
RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/resources/messages.properties,v
retrieving revision 1.60
diff -u -r1.60 messages.properties
--- messages.properties	16 Nov 2002 04:20:10 -0000	1.60
+++ messages.properties	20 Nov 2002 23:47:23 -0000
@@ -266,7 +266,7 @@
 jsp.error.empty.body.not.allowed=Empty body not allowed for {0}
 jsp.error.jspbody.required=Must use jsp:body to specify tag body for {0} if jsp:attribute is used.
 jsp.error.jspbody.emptybody.only=The {0} tag can only have jsp:attribute in its body.
-jsp.error.no.scriptlets=Scripting elements ( <%@, <%!, <%=, <% ) are disallowed here.
+jsp.error.no.scriptlets=Scripting elements ( <%!, <%=, <% ) are disallowed here.
 jsp.error.internal.unexpected_node_type=Internal Error: Unexpected node type encountered
 jsp.error.tld.fn.invalid.signature=Invalid syntax for function signature in TLD.  Tag Library: {0}, Function: {1}
 jsp.error.tld.fn.duplicate.name=Duplicate function name {0} in tag library {1}

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

Reply via email to