• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

variable directive in tags

 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone explain me the use of variable directive in tags?
 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Click
i tried example given on above url but it didnot display vlaue in jsp file
If you are able to do please tell me also.
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

add this to a.tag its working....thanks...:-)
 
Bryan Basham
author
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rrenu,

Did the documentation that Gowher provided answer your question?

Also know that this is not on the SCWCD exam. I have never found a use for this feature in practice.

Cheers,
Bryan
 
Renu Radhika
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it did.its like tei-class for .tag file which we use in ordinary tag files.I feel its useful when a variable modified in .tag need to be reflected in your jsp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic