When using "jsp:usebean", if the bean class does not have a public no arg constructor, then whicy type of error will occur? is it compilation error OR an instantiation exception? Thanks in Advance
Originally posted by Savyatha Reddy: When using "jsp:usebean", if the bean class does not have a public no arg constructor, then whicy type of error will occur? is it compilation error OR an instantiation exception?
I didnt have tried to execute the same.. In Whizlabs1.4 simulator, I faced with 2 questions relating to the same context as I mentioned. As answer for 1 question they had given Compilation error and as the answer for the other question, they had given Instantiation exception. So Iam confused..