File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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
 
GeeCON Prague 2014
 
subject: about instance variables in Classic Tag handler?