*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: about instance variables in Classic Tag handler?
 
Similar Threads
Problems setting sql Date in prepared statement
help required
mysql date problem
how to change the date,Time format after accessing it from the database
Formatting Dates