@ Override public final int doAfterBody ( ) throws JspException { // Use the body of the tag as input for the date BodyContent body = getBodyContent ( ) ; String s = body . getString ( ) . trim ( ) ; // Clear the body since we will output only the formatted date body . clearBody ( ) ; if ( output_date == null ) { long time ; try { time = Long . valueOf ( s ) . longValue ( ) ; output_date = new Date ( time ) ; } catch ( NumberFormatException nfe ) { } } return SKIP_BODY ; }
Method called at end of format tag body .