*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Scripting Invalid Tag - tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Scripting Invalid Tag - tomcat 5.5" Watch "Scripting Invalid Tag - tomcat 5.5" New topic
Author

Scripting Invalid Tag - tomcat 5.5

Aleena Rehman
Ranch Hand

Joined: Sep 20, 2005
Posts: 66
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?


Aleena Rehman<br />SCJP, SCBCD 95%, SCWCD 85%, IBM-OOAD 84%, SCEA-I 91%
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Restart the server and try again.


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Aleena Rehman
Ranch Hand

Joined: Sep 20, 2005
Posts: 66
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

Joined: Aug 12, 2006
Posts: 198
it didnt work for me too when i tried it. anyone know why?


if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing
 
 
subject: Scripting Invalid Tag - tomcat 5.5
 
Similar Threads
To make script invalid
scripting-invalid tag
scripting-invalid question
how to contrain a JSP page to be scriptless?
scripting-invalid