This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes scripting-invalid tag in web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "scripting-invalid tag in web.xml" Watch "scripting-invalid tag in web.xml" New topic

scripting-invalid tag in web.xml

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
according to HFSJ, page 338, Q13....

Q13. Which statement about disabling scripting elements are true?

one of the option is :

You can only disable scripting at application level.

The above statement is correct, but it is not so according to HFSJ. Can someone pls explain..

thnx in advance

SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
only disable

this is what it makes a 'wrong' option
its all 'english' man

as per above option, scriptin can be disabled only at applciation level
this is not true. we can do it for some jsps by using the <url-pattern> element

SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Vinod Iyer
Ranch Hand

Joined: Apr 13, 2006
Posts: 53
tricky question!
H Pathak

Joined: Dec 20, 2006
Posts: 28

SCJP 1.4 - cleared<br />SCWCD 1.4 - cleared!!
I agree. Here's the link:
subject: scripting-invalid tag in web.xml
Similar Threads
Scripting in Tag file
disabling scripting
inheritance - flow
difference between tag and tld
Confusion regarding tagfile