I don't under why the language attribute provide here to specify scripting language, when we are not suppose to use scripting.
Is this attribute for the tag file itself.(I guess), because inside the body(used to invoke the tag file) you are not allowed to provide any scripting.
Please help me understand this.
Thanks <br />Poonam Agarwal SCWCD 86%
Sourin K. Sen
posted 8 years ago
According to the JSP spec, the only valid value for this attribute is "java".
Here's a line from the jsp spec for the language attribute of the page directive :
When java is the value of the scripting language, the Java Programming Language source code fragments used within the translation unit are required to conform to the Java Programming Language Specification
I think it means that whatever scripting language we use, for example : EL, it should translate to proper java language construct. So, it doesn't necessarily points out to the scripting elements, but it can be any valid scripting language like EL which, after translation, becomes a proper java code.
However, this is my point of view and I might be wrong. Ranchers, please provide some inputs in this...
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