A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
Is this an empty Tag
Deepan Devadasan
Ranch Hand
Joined: Jan 25, 2007
Posts: 226
posted
Feb 04, 2007 22:06:00
0
Hi Buddies,
We know
1)<x:foo>
2)<x:foo></x:foo>
are empty tags
Then the following too should obviously be an empty tag
<x:foo><%-- This is an empty element --%></x:foo>
Am I correct?
Theepan Thevathasan
SCJP 1.4, SCWCD 1.4, SCMAD 1.0 SCBCD 1.3, MCP(.Net Frm 2.0 App Dev Fdn)
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56540
14
I like...
posted
Feb 04, 2007 22:55:00
0
<x:foo> is not an empty tag.
And no, a tag containing a comment is not empty.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
Deepan Devadasan
Ranch Hand
Joined: Jan 25, 2007
Posts: 226
posted
Feb 05, 2007 00:00:00
0
thanks Bear,
It was intended to be
<x:foo/>
javascript: x()
Smile
Thanks a lot again
I agree. Here's the link:
http://aspose.com/file-tools
subject: Is this an empty Tag
Similar Threads
Tag file to declare that the Tag must not have a body
Tag file problem
Custom tag Qs
what is empty tag?
jsp:getProperty
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter