my dog learned polymorphism*
The moose likes JSP and the fly likes To make script invalid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "To make script invalid" Watch "To make script invalid" New topic
Author

To make script invalid

Ravindranath Chowdary
Ranch Hand

Joined: Nov 08, 2006
Posts: 71
Hi Friends,
To disable scripting I added the following lines of code web.xml

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

Even though i disable scripting it is showing the page where i have used scripting. I have checked in the log also, there are no errors in that. Can you please clear my doubt, why it is not throwing an error even if i disable the scripting?.

Thanks,
Ravindranath.
Ravindranath Chowdary
Ranch Hand

Joined: Nov 08, 2006
Posts: 71
Hi Friends,
I got this by deleting the related files in the work folder and redeploying the application.

Thanks,
Ravindranath.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To make script invalid
 
Similar Threads
Scripting Invalid and EL Ignored elements not working?
Scripting Invalid
isELIgnored="false"
Scripting Invalid Tag - tomcat 5.5
scripting-invalid