• 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,

my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!