I have my Comp broker from last few dayz hence did not get a chance to check these out on Tomcat.... So Communicating from a cyber cafe..
Please help clarify by the time my PC comes up
The first doubt on EL is the way the [] operator is processed.
Assume I have a PageScoped attribute named XYZData set and it has properties name, size, priceList..etc The priceList property is a List.
so does a expression like ${XYZData[priceList[0]]} first try to evaluate priceList as an attribute in any scope? or it evaluates XYZData and then gathers that priceList is a property.
Accdng to my knowledge, ${XYZData.priceList[0]} would work fine.
The second doubt is on the CustomTags body-content.
I read SimpleTags from HF and found that the JspFragment passed in setJspBody() of SimpleTaghandler cannot conatin scripting expressions.
So does that mean we cannot use <body-content>JSP</body-content> for TagHandler written extending SimpleTagHandler.
I have not read ClassicTag Handlers so not so sure abt the same.
Can anyone pls clarify?
Thanks.