• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scripting invalid

 
Salil Dhawan
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello if i do a <scripting-invalid> as true in DD and put scripting elements in JSP,will JSP not compile or will show scripting elements text as normal text?


I think JSP should not compile but want to confirm


-Salil
 
Salil Dhawan
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also what will happen if i do <el-ignored> to true and write EL code in JSP?
I think i this case it will appear as normal text in JSP

Please clear confusion in case of both <scripting-invalid> and <el-ignored> tags.What will be its impact on JSP

Thanks
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both of these are quite easy to test, aren't they? That would give you an answer much faster.
 
Salil Dhawan
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tested it and found that in case of EL it shows EL text as normal text ( if i do <el-ignored> to true) and in case of scripting invalid it gives JSP compilation error.I just want to know is this right?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It certainly sounds correct, but the JSP specification is the final arbiter of what should or should not happen. Alternatively, you could run the code on the servlet/JSP reference implementation (Tomcat); it's main reason for existence is to be faithful to the specifications.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic