Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on scripting invalid and el ignored tags

 
Sangeetha Raja
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I am trying to execute a jsp by disabling EL and also scripting.

web.xml has;



InvalScripTest.jsp has;



i am trying to access the url; http://localhost:9080/SampleServlet/Jsp/InvalScripTest.jsp?input="Hai"
and expecting translation error but i could see the result



same result coming for el ignored also; i replaced <scripting-invalid>true</scripting-invalid> with <el-ignored>false</el-ignored> and expecting blank instead of "Hai". anyone has idea on this?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The forum is bugging with HTML entities since a week or so. Fix all HTML entities using 'preview'. Do not edit it again and again, otherwise the already-fixed entities will be garbled again.
 
Sangeetha Raja
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. thanks. i will avoid in future.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the url-pattern is wrong.

Try a general url-pattern.

 
Sangeetha Raja
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its working now. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic