This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "dashes!! please help!" Watch "dashes!! please help!" New topic
Author

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.

Regards,
Leena


[SCJP2, SCWCD1.3, SCBCD]
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.

Regards,
Leena
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dashes!! please help!