This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling Scripting

 
Sharma Anjali
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 332 HF
Ques 13

Which statements about disabling scripting elemetns are true?

B. You can only disable scripting at application level.
D. You can disable scriptng via the DD using <scripting-invakid> element.

To me both B, D look correct but the book says only D is correct.
 
Deepa Korecherla
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sharma Anjali:
Page 332 HF
Ques 13

Which statements about disabling scripting elemetns are true?

B. You can only disable scripting at application level.
D. You can disable scriptng via the DD using <scripting-invakid> element.

To me both B, D look correct but the book says only D is correct.


---------------
B is not correct.......b'coz u can disable scripting for a specific jsp page also...like other.jsp in url-pattern....instead of whole app..like *.jsp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic