wood burning stoves*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes dashes!! please help! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "dashes!! please help!" Watch "dashes!! please help!" New topic

dashes!! please help!

Leena Diwan
Ranch Hand

Joined: Jun 18, 2001
Posts: 351
Hi Friends,

Please help with dashes in the element names!

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.


Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
Hi Leena,

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
Leena Diwan
Ranch Hand

Joined: Jun 18, 2001
Posts: 351
Hi Ritesh,

Thanks. It did help.

It is sorta covered in the JavaRanch Style Guide.
subject: dashes!! please help!
Similar Threads
focus() not working in firefox
Database configuration
Removing dahes out of string
html:file width
TLD question