Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Head Firsr Series Issue

 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic