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=30067>. 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=30067 "Scripting elements are disallowed here" exception behind scriptless tag Summary: "Scripting elements are disallowed here" exception behind scriptless tag Product: Tomcat 5 Version: 5.0.25 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] [jdk 1.4.2_04] I got the exception for a script-less tag following by scriplet section in JSP in XML syntax. The scriptlet is *behind* the tag. The same code in Standard JSP syntax works for me. - xindex.jspx - throws the exception: <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:tag="urn:jsptagdir:/WEB-INF/tags"> <tag:EmptyTag/> <jsp:scriptlet>String x;</jsp:scriptlet> </jsp:root> - index.jsp - works for me: <%@ taglib tagdir="/WEB-INF/tags/" prefix="tag"%> <tag:EmptyTag/> <jsp:scriptlet>String x;</jsp:scriptlet> - EmptyTag.tag <[EMAIL PROTECTED] body-content="scriptless"%> <h1>Empty Tag</h1> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]