Hi, I�m having some trouble with the <scripting-invalid> tag.
1. First, I turned on scripting - <scripting-invalid>false</scripting-invalid> 2. Ran test.jsp, and it loaded with the scriptlets(so far so good). 2. Now I turned off scripting - <scripting-invalid>true</scripting-invalid> Tomcat window said �Reloading context� (which I figure means that the new web.xml has been reloaded. 4. Now I ran test.jsp again and it read the scriptlets (although I have turned on �scripting invalid� now).
In the above procedure if I use true in step 1, and then false in step 3, then behavior is as expected (i.e. scriptlets disabled when I ran step 2, and scriptlets enabled in step 5).
I don�t understand why the changes get updated in scenario 2 and not in scenario 1. I also tried restarting the server after changes were made to web.xml, but there wasn't any change in behavior.