| career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

package tadm;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.Tag;
import javax.servlet.jsp.tagext.TagSupport;

import tadm.AntTag;

 * Child tag to add ant targets to Ant taglib.
public class AntTarget extends TagSupport {
    public AntTarget() {}

    public int doStartTag() throws JspException {
	Tag parent=getParent();
	if( parent == null  )
	    throw new JspException( "AntTarget used as top-level tag,"+
				    "must be inside ");
	if( ! (parent instanceof AntTag ))
	    throw new JspException( "AntTarget must be child of ");

	AntTag antTag=(AntTag)parent;
	if( name == null ) {
	    String names[]=pageContext.getRequest().
		getParameterValues( param );
	    for( int i=0; i
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.