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

@variable declare attribute

 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please give an example of using the declare attribute of the
<%@variable %> declarative used for declaring the OUT data in tag files.

The following is the definition of this attribute:
declare
(optional) Whether or not the variable is declared. True is the default.


thanks.
[ July 20, 2006: Message edited by: Shivani Chandna ]
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please go thru

http://java.sun.com/products/jsp/syntax/2.0/syntaxref2013.html
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That link didn't satisfy me... it just told me the same things I've read everywhere else. In fact, thanks for posting this thread as it actually got me thinking about the "declare" and "variable-class" attributes, which is something I've never thought about before.

Anyway, I've posted my investigative work on the JSP forum under this topic:

Tag File Variable Synchronisation

Feel free (over on the other forum) to contribute to my findings or correct my conclusions!
[ July 25, 2006: Message edited by: Charles Lyons ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic