*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes scripting invalid 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" Watch "scripting invalid" New topic
Author

scripting invalid

MInu
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
Hi All,
I'm trying to make invalid for a JSP to have scripting elements.

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


and in the jsp i wrote,
<%
out.println("Hello!");
%>


But this JSP still work, does anybody know what I'm doing wrong?

i am using Tomcat5.0.16 and jdk1.4

Thanks


God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
Try reloading the application.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
MInu
Ranch Hand

Joined: Oct 09, 2003
Posts: 517
STILL IT IS NOT WORKING

Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026
Post your web.xml and jsp code
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: scripting invalid
 
Similar Threads
To make script invalid
scripting-invalid question
how to contrain a JSP page to be scriptless?
Scripting Invalid Tag - tomcat 5.5
scripting-invalid