File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Head Firsr Series Issue 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Head Firsr Series Issue" Watch "Head Firsr Series Issue" New topic
Author

Head Firsr Series Issue

Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hi Ranchers ,

I took the book Head First Jsp and Servlets by kathy and bert. Its amazing. yesterday i learned from that book that we can turn off jsp scripting by using <scripting-invalid>true</scripting-invalid> tab under DD.

However when i did that , I got a fat SAX Exception of the SAX Parser.

I tried this :



Please help me as to how scripting can be disabled. I am confused because in the DD i have seen and there does not seem to be any <jsp-config>
element..

Please help.

Thanks in Advance.

Yogendra N Joshi.


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

jsp-property-group is a sub-element of jsp-config, so it's ok.

Make sure you are using version 2.4. Use the declaration as described in the following page : http://faq.javaranch.com/view?ServletsWebXml
[ June 24, 2007: Message edited by: Satou kurinosuke ]

[My Blog]
All roads lead to JavaRanch
Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
Hi satou ,

Thanks for the help.

I had overlooked the DD , yes , jsp-config is indeed a sub-element.

I would try again.

Thanks for the help.

Yogendra.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Head Firsr Series Issue
 
Similar Threads
To make script invalid
Regarding scripting-invalid
how to contrain a JSP page to be scriptless?
Not able to invalidate the scripts using the tags in web.xml
Scripting Invalid Tag - tomcat 5.5