Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chapter - 7 Question 13

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which statement about disabling scripting elements are ture.

option b - You can only disbale scripting at application level.

Any one please explain why this option is not true.
 
Mateusz Kwasniewski
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In <jsp-property-group> element you can use <url-pattern> tag where you specify the resources that the <scripting-invalid> tag refers to.
If you put *.jsp in <url-pattern> than you disable scripting in ALL JSP's in your app, however you can ALSO apply it to one jsp page (eg. /someCat/myPage.jsp) or some pages in a certain catalogue (eg. /someCat/*).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic