Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

scripting-invalid tag

Giri Thava
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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=""

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.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!