Package tags.TagSupport

Examples of tags.TagSupport.FirstPrizeTag


    //sets and returns the second prize winner

    protected String winner ;

    public void setWinner( String name ) throws JspException {
        FirstPrizeTag first = ( FirstPrizeTag ) findAncestorWithClass( this, FirstPrizeTag.class );

        if ( first == null )
            throw new JspException( "nesting error" );

        String winner1 = first.getWinner();

        if ( ! winner1.equals( name ) )
            winner = name;
    }
View Full Code Here

TOP

Related Classes of tags.TagSupport.FirstPrizeTag

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.