This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about instance variables in Classic Tag handler?

hasan khan
Ranch Hand
Posts: 223
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created a tag "lastModified" with an optional attribute named "format".

i am using the tag with and without attribute in different JSP depending on the my requirement.

for e.g
if i it is called with the attribute value "MM/dd/yyyy" for the first time, and
second time it is called attribute.

now for the second time does the instance variable declared for the "format" attribute still contains the old value "MM/dd/yyyy" or will it be set to null automatically by the container or do i need to set it to null,

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic