Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dashes!! please help!

 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ritesh,

Thanks. It did help.

Regards,
Leena
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic