Sunday, December 21, 2014

Enable Disable Scripting and EL Expression in all JSP pages with only Two Line Configuration

<web-app ...>

     <jsp-confi g>
           <jsp-property-group>
           <url-pattern> *.jsp</url-pattern>
           <el-ignored>  true/false <el-ignored>
           <scripting-invalid> true/fals </scripting-invalid>
           </jsp-property-group>
     </jsp-confi g>

</web-app>

Explanation
By configuration above jsp-config element and it subelements in the web.xml file
it will enable/disable the EL expression and Scripting (scriplet,expression and declaration)
in the mentioned url jsp pages.

Give your valuable Comment
Keep Visiting :)

No comments:

Post a Comment

Scrum and Scrum master

Scrum  Scrum is a framework which helps a team to work together.  It is like a rugby team (the scrum name comes from rugby game). Scrum enco...