jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sant...@locus.apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path tld_URI.java
Date Wed, 01 Nov 2000 19:12:41 GMT
santosh     00/11/01 11:12:41

  Added:       src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path
                        tld_URI.java
  Log:
  Tag handler for TLD Resource path tests
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path/tld_URI.java
  
  Index: tld_URI.java
  ===================================================================
  package tags.tld_resource_path;
  
  import javax.servlet.jsp.*;
  import javax.servlet.jsp.tagext.*;
  
  
  public class tld_URI extends TagSupport {
  
  	public void  setUri(String uri)
    	{
          	uri_type=uri; 
         	}
  
           public int doStartTag() throws JspException {
              try {
                 pageContext.getOut().print("This handler was called from" );
                 pageContext.getOut().print(" A " + uri_type );
              } catch (Exception ex) {
                 throw new JspTagException("Absolute_URI Tag: " + 
                    ex.getMessage());
              }
              return SKIP_BODY;
           }
  
           public int doEndTag() {
              return EVAL_PAGE;
           }
  
  private String uri_type;
        }
  
  
  

Mime
View raw message