|Published (Last):||15 February 2019|
|PDF File Size:||19.44 Mb|
|ePub File Size:||5.43 Mb|
|Price:||Free* [*Free Regsitration Required]|
Kanishka Ajwani. A question from summary quiz 2 of www. Compile time error the forEach tag has no varStatus attribute Incorrect C. Compilation error JavaBeans cannot be manipulated within scriptlets Incorrect D.
However I feel the answer should be C. Please correct me if I am wrong. Thanks, Kanishka. Vijitha Kumara. I like However I feel the answer should be C Scriptlets have access to Java beans once they have declared in the page. Thanks Vijitha. Does that mean that scriptlets have access to Java beans only in page scope? Or java beans in all the scopes request, session, application, page can be accessed by scriptlets?
Bear Bibeault. Scriptlet variables have nothing at all to do with the scopes or scoped variables. So talking about "scope" with respect to scripting variables makes no sense. Thanks Bear, so that concludes that scriptlets can access java beans declared in the JSP.
But, of course, keep in mind that in the real world, scriptlets are no longer used in JSPs so the issue would never come up in real-world code. Chill with this tiny ad:. Boost this thread! Undefined attribute name Items compilation error using jstl.
Beans with scriptlet : Beans « JSP « Java
Subscribe to RSS