wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Directive or Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Directive or Page" Watch "Directive or Page" New topic
Author

Directive or Page

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
<%@ page isELIgnored="true" %>

well if we look here page is directive, but marcus green notes say that
isELIgnored is also a directive? acc. to me it should be a attribute.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by Amandeep Singh:
marcus green notes say that
isELIgnored is also a directive?

it is an attribute... good practise is configure in web.xml rather than page directive
Anand Bhatt
Ranch Hand

Joined: May 30, 2007
Posts: 189
Here "page" is directive having "isELIgnored" as an attribute.
sudhakar karnati
Ranch Hand

Joined: May 03, 2007
Posts: 93
Points to rember for the exam regarding <scripting-invalid> and <el-ignored> are:

1) <scripting-invalid>true</scripting-invalid> causes translation error(If jsp includes scripting elements)..
2) <el-ignored>true</el-ignored> wont cause any translation error but ignores the EL elements.

I always forget these rules so i am making post so that i can remember..If you have no problem in remembering ignore this.

Thanks & Regards,
Sudhakar Karnati
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Thanks
 
Don't get me started about those stupid light bulbs.
 
subject: Directive or Page
 
Similar Threads
EL is not working
reg deployment descriptor
I need some help with this issue
El Expression problem
Disabling EL!!