From this declaration, it means that scripting is not allowed in do.jsp. My question is what happen if we declare scripting in do.jsp 1. Scripting Not evaluated and print nothing or 2. Scripting not evaluated and exception is thrown
Could anyone please explain about this? I am still new about this.
That is exactly true. Scripting cannot be disabled at page level through Page directive attribute in the JSP. However you can make scripting invalid for a particular JSP using <url-pattern> element in web.xml file as shown below: