Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scripting Invalid Tag - tomcat 5.5

 
Aleena Rehman
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have put the scripting invalid tag in my web.xml file, but i can still do the scripting in my jsp files?

<jsp-config>
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<scripting-invalid>
true
</scripting-invalid>
</jsp-property-group>
</jsp-config>


Why is this happening?
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Restart the server and try again.
 
Aleena Rehman
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was not the case....

Actually, in my web.xml i was referring to 2.3 spec, and therefore there was a problem, because in 2.3 spec, you had to mention in the JSP using the isScriptingInvalid tag.
 
Dinuka Arsakularatne
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it didnt work for me too when i tried it. anyone know why?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic