This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
In Miftah notes I found that tilbversion, jspversion, bodycontent, tagclass came without dashes. I referred to Hanuman't book throughout and it has specified dashes for all these element names like tlib-version, jsp-version..
I checked in the Java Server Pages 1.2 specification and searched for the tags. They do not have dashes in between.
Im real worried as the element names are asked as type in questions.
The elements jsp-version, tlib-version, short-name etc are sub elements for the taglib element. They have "dashes" in them. You can check the JSP 1.2 specification Page 226 for further information. The dashes were not there in the JSP 1.1 specification. That you can check in the Appendix D of the specification document which talks about the JSP 1.1 DTD for the TagLibrary Descriptor. This changes between 1.1 and 1.2 have been explicitly noted down in the Appendix E, Section E.4.4 Page 250 of JSP 1.2 Specificationm document.
Hope this helps.
Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards