then I used scriptlet and declaration in my jsp, shouldn't it be any error when I query this jsp? but seems the jsp file was successfully compiled and displayed, as if the scripting-invalid was configured as false. I'm using Tomcat 5 and JRE 1.4
Make sure you don't have a servlet-mapping matching the requested URL. If a resource matches a URL pattern in both a <servlet-mapping> and a <jsp-property-group>, the pattern that is most specific applies.
Ok, I paste all the things here web.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" >