catlett     01/08/13 16:54:37

  Modified:    mailer/examples/web mailer.jsp
  Log:
  updated taglib to the new build process
  
  Revision  Changes    Path
  1.3       +11 -11    jakarta-taglibs/mailer/examples/web/mailer.jsp
  
  Index: mailer.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/mailer/examples/web/mailer.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mailer.jsp        2001/04/20 18:43:29     1.2
  +++ mailer.jsp        2001/08/13 23:54:37     1.3
  @@ -1,33 +1,33 @@
  -<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.0"; prefix="mt" %>
  -
  +<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
   <html>
  +<%@ taglib uri="http://jakarta.apache.org/taglibs/mailer-1.0"; prefix="mt" %>
   <%@ page language="java" %>
        <head>
             <title>Example JSP using mailer taglib</title>
        </head>
        <body bgcolor="#FFFFFF">
        <!-- The server, session, or mimeMessage attributes are not requiired -->
  -     <!-- the mail server used will be localhost.
  +     <!-- the mail server used will be localhost. -->
        <mt:mail>
  -     <mt:setto><%=request.getParameter("to")%>
  -     </mt:setto>
  +     <mt:setrecipient type="to"><%=request.getParameter("to")%>
  +     </mt:setrecipient>
        <mt:from><%=request.getParameter("from")%>
        </mt:from>
  -     <mt:setcc><%=request.getParameter("cc")%>
  -     </mt:setcc>
  +     <mt:setrecipient type="cc"><%=request.getParameter("cc")%>
  +     </mt:setrecipient>
        <mt:subject><%=request.getParameter("subject")%>
        </mt:subject>
        <mt:message><%=request.getParameter("message")%>
        </mt:message>
        <mt:send>
  -       <p>The following errors occured<br><br>
  +       <p>The following errors occured<br/><br/>
          <mt:error id="err">
  -         <jsp:getProperty name="err" property="error"/><br>
  +         <jsp:getProperty name="err" property="error"/><br/>
          </mt:error>
  -       <br>Please back up a page, fix the error and resubmit
  +       <br/>Please back up a page, fix the error and resubmit.</p>
        </mt:send>
        </mt:mail>
   
        <p>The message has been successfully sent.</p>
        </body>
  -<html>
  +</html>
  
  
  

Reply via email to