• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding scripting-invalid

 
Purna Chandra Rao
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
According to jsp 2.0 specifications the page directive does not have an attribute named isScriptingInvalid.What should i do if i want my jsp container to ignore the scripting for my whole web application except for one or two jsp pages.

Thanks and Regards,
Purna Chandra Rao
SCJP 1.4 - 100%
 
Tha�s Manfrim Firmino
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can declare on the DD which pattern will have the scripting ignored.
Eg:
<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>true</scripting-invalid>
</jsp-property-group>
</jsp-config>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic