Page 1 of 1

About Question enthuware.jwpv6.2.997 :

Posted: Wed Apr 10, 2013 6:10 am
by wilkericeri
The attribute class no need a fully qualified name?

Re: About Question enthuware.jwpv6.2.997 :

Posted: Wed Apr 10, 2013 5:43 pm
by admin
Not if it is imported. Or if it is in default package.
-Paul.

Re: About Question enthuware.jwpv6.2.997 :

Posted: Thu Mar 19, 2015 9:27 pm
by tanzwud
Why 2 and 5 are valid?
To be visible for Jsp servlet Java Bean should have a package otherwise the page will not compile. I cannot navigate where I read about probaly is related to how compileer is looking for classes. If bean is in default package the compiller will try to find the class in same package as generated servlet class. But the problem is that the generated jsp class is in its own package which is not default.
When code is tested there is a compilattion error.

Re: About Question enthuware.jwpv6.2.997 :

Posted: Thu Mar 19, 2015 11:34 pm
by admin
I couldn't find anywhere where such requirement is mentioned. Anyway, the question is not really about this so I have added a package statement to avoid this confusion altogether.

thank you for your feedback!