File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes scripting-invalid tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "scripting-invalid tag" Watch "scripting-invalid tag" New topic
Author

scripting-invalid tag

Giri Thava
Ranch Hand

Joined: Jun 22, 2006
Posts: 38
Scripting elements are working properly even after I configure the
<scripting-invalid>true</scripting-invalid> tag in my web.xml file.
I don't understand why this happens.

This is my web.xml file:

<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/web-app_2_4.xsd"
version="2.4">
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>
</web-app>

I have two more questions.
Which are scripting elements? Ok. I know scriptlets,expressions and declarations are
scripting elements, but I don't know whether a "directive" is a scripting element.
Just tell me whether a "directive" is a scripting element or not.

And the final question is:
How a container would handle a "directive" if I have invalidated the scripting using
<scripting-invalid>true</scripting-invalid> tag in my DD? I mean would the container
simply ignore the "directive" element or will it take it into account?

Advance thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scripting-invalid tag