The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ Q13 P332 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ Q13 P332" Watch "HFSJ Q13 P332" New topic

HFSJ Q13 P332

Shobhana Sundar

Joined: Jul 13, 2005
Posts: 17

The answer given is D. The explanation given says we can disable scripting in selective jsp's by specifying selective url patterns to be disabled.

Can someone explain how this is done? How can we disable it in selective jsp's?

[ January 13, 2006: Message edited by: Shobhana Sundar ]
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
You specify the jsp pages in <url-pattern> element for which scripting should be disabled.


If you give it as
then scripting will be disabled in all the jsp pages in your web application.

Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
Shobhana sundararaman

Joined: Dec 02, 2004
Posts: 1
Thanks Vishnu
I agree. Here's the link:
subject: HFSJ Q13 P332
It's not a secret anymore!