wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes about instance variables in Classic Tag handler? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "about instance variables in Classic Tag handler?" Watch "about instance variables in Classic Tag handler?" New topic
Author

about instance variables in Classic Tag handler?

hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

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,



SCJP, SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: about instance variables in Classic Tag handler?