• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

@variable declare attribute

 
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please go thru

http://java.sun.com/products/jsp/syntax/2.0/syntaxref2013.html
 
Author
Posts: 836
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic