jakarta-watchdog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlu...@apache.org
Subject cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path_two tld_URI.java
Date Mon, 28 Jan 2002 23:38:04 GMT
rlubke      02/01/28 15:38:04

  Added:       src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path_two
                        tld_URI.java
  Log:
   - added for implicit URI testing.
  
  Revision  Changes    Path
  1.1                  jakarta-watchdog-4.0/src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path_two/tld_URI.java
  
  Index: tld_URI.java
  ===================================================================
  package tags.tld_resource_path_two;
  
  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;
        }
  
  
  

--
To unsubscribe, e-mail:   <mailto:watchdog-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:watchdog-dev-help@jakarta.apache.org>


Mime
View raw message