About Question enthuware.jwpv6.2.810 :
Posted: Thu Nov 22, 2012 3:03 pm
Option is marked as incorrect:
By the way – on Tomcat 7 I was able to set new context/servlet init parameters in servlet's service() method (which is wrong according to API), but I guess this is Tomcat specific.
Not sure about this – ServletContext has setInitParameter method, but it is only allowed to be set during initialization. Same with Servlet init parameter.They can be modified using the setInitParameter() method.
By the way – on Tomcat 7 I was able to set new context/servlet init parameters in servlet's service() method (which is wrong according to API), but I guess this is Tomcat specific.