Win a copy of Learn Spring Security (video course) this week in the Spring 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