File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Directive or Page

 
Amandeep Singh
Ranch Hand
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ 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.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 189
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here "page" is directive having "isELIgnored" as an attribute.
 
sudhakar karnati
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic