Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL Newbie..Can we do it.  RSS feed

 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am newbie in JSTL.

But I have a query whether can we use a tag inside another tag.

If yes, then could you please give me one example.

Pls, I am not asking for complete example, but only the main implementations of using a Tag inside another TAg.


Thankx in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by that?

If you mean nesting tags, of course,

If you mean using a tag as the attribute value of another tag, then no.
[ November 10, 2006: Message edited by: Bear Bibeault ]
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
What do you mean by that?

If you mean nesting tags, of course,

If you mean using a tag as the attribute value of another tag, then no.



Thankx Bear,

But If it is poosible then could I have one very simple example of doing this. I am not asking for the whole code, I just want that particular snippet where we are using nested Tags.

Thankx in Advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Example of nested tags:

 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Example of nested tags:



Thankx Bear.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!