Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

taglib directive in XML style JSPs

 
James Moore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there an equivalent to (for example)

for XML JSPs?
I have looked at the JSP 1.2 specs and cannot see any. As a guess I tried:

which did not work.
Thanks for any help
Regards
James
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which did not work
This doesn't work like this. You need to change it to a namespace (xmlns :p refix) declaration....
Check the JSP 1.2 specs, which provides and example in JSP.5.5 on page 91-93.
regds.
- satya
[ March 12, 2002: Message edited by: Madhav Lakkapragada ]
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How quickly they forget Exploring JSP Documents (XML Style JSP Pages)
 
James Moore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that information
James
 
James Moore
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As a followup to this:
Is it possible to have expression based attributes in XML style pages?
Eg, an equivalent to:

where count is an expression?
I have checked Carl's newsletter and the 1.2 spec.
Regards
James
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic