This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

JSTL and JSP Documents

 
Roy Pozarelli
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm in the process of studying for the SCWCD/OCPJWCD certification. I going over the specs (JSTL, JSP, EL, Servlet, etc.) and several books, I've come across a question that I don't seem to have an obvious answer to. A JSP Document - is an XML compliant file. Using JSTL/EL in a JSP Document is there to avoid putting scripting code into that "XML" document. However, what about the scripting directive taglib? It seems to me that <%@ taglib ... %> is scripting? Am I wrong in that opinion? I don't see another way to let the JSP know that I'm using a taglib that follows the XML requirements? Is my question due to a lack of in depth knowledge of XML?
 
Paul Clapham
Sheriff
Posts: 21576
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, it's scripting. But see this page which explains what to do instead of a taglib directive in the XML format.
 
Roy Pozarelli
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, that'll do it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic