jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catl...@apache.org
Subject cvs commit: jakarta-taglibs/mailer/src/org/apache/taglibs/mailer ServerTag.java
Date Sat, 07 Sep 2002 17:32:03 GMT
catlett     2002/09/07 10:32:03

  Modified:    mailer/src/org/apache/taglibs/mailer ServerTag.java
  Log:
  cleaned up a few errors
  
  Revision  Changes    Path
  1.2       +5 -8      jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/ServerTag.java
  
  Index: ServerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/mailer/src/org/apache/taglibs/mailer/ServerTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServerTag.java	7 Sep 2002 17:13:45 -0000	1.1
  +++ ServerTag.java	7 Sep 2002 17:32:03 -0000	1.2
  @@ -85,8 +85,6 @@
    *
    * @version 1.0
    *
  - * @see ScrapeData
  - *
    */
   public class ServerTag extends BodyTagSupport {
   
  @@ -104,8 +102,8 @@
        */
       public final int doAfterBody() throws JspException {
   
  -	// parent tag must be a PageTag, gives access to methods in parent
  -	PageTag myparent = (PageTag)javax.servlet.jsp.tagext.TagSupport.findAncestorWithClass(this,
MailTag.class);
  +	// parent tag must be a MailTag, gives access to methods in parent
  +	MailTag myparent = (MailTag)javax.servlet.jsp.tagext.TagSupport.findAncestorWithClass(this,
MailTag.class);
           String server;  // the url for the page to be scraped
   
   	if (myparent == null)
  @@ -113,7 +111,6 @@
           else {
   	    if ((server = bodyContent.getString()) != null) {
   		myparent.setServer(server); // set the url in the parent tag
  -		myparent.getPage();   // get the pagedata object for this scrape
   	    } else
   		throw new JspException("The mail server was not provided");
   	}
  
  
  

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


Mime
View raw message