rlubke      02/01/28 15:37:37

  Added:       src/server/jsp-tests/WEB-INF/classes/tags/tld_resource_path_one
                        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_one/tld_URI.java
  
  Index: tld_URI.java
  ===================================================================
  package tags.tld_resource_path_one;
  
  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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to