sendmail.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"%>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <title>发邮件</title>
  6. <link href="../common.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body leftmargin="0" topmargin="5">
  9. <jsp:useBean id="fchar" scope="page" class="cn.js.fan.util.StrUtil"/>
  10. <%
  11. String to = fchar.getNullStr(fchar.UnicodeToGB(request.getParameter("to")));
  12. %>
  13. <table width="" border="0" align="center" cellpadding="0" cellspacing="0">
  14.   <tr> 
  15.     <td height="23" valign="bottom" background="../images/tab-b6-top.gif">     <span class="right-title">发 
  16.       邮 件</span></td>
  17.   </tr>
  18.   <tr>
  19.     <td valign="top" background="../images/tab-b-back.gif">
  20. <table width="84%" border="0" align="center" cellpadding="0" cellspacing="2">
  21.         <form id=form1 enctype="MULTIPART/FORM-DATA" name="form1" action="sendmail_do.jsp" method="post">
  22.           <tr> 
  23.             <td align="right">&nbsp;</td>
  24.             <td>&nbsp;</td>
  25.           </tr>
  26.           <tr> 
  27.             <td width="21%" align="right">收件人:</td>
  28.             <td width="79%"><input class="p1" size="40" name="to" value="<%=to%>"></td>
  29.           </tr>
  30.           <tr> 
  31.             <td align="right">主 题:</td>
  32.             <td><input class="p1" size="40" name="subject"></td>
  33.           </tr>
  34.           <tr> 
  35.             <td align="right">附 件:</td>
  36.             <td><input id="filename1" type=file size=40 name=filename2></td>
  37.           </tr>
  38.           <tr> 
  39.             <td align="right">&nbsp;</td>
  40.             <td><input id="filename2" type=file size=40 name=filename22></td>
  41.           </tr>
  42.           <tr> 
  43.             <td align="right">&nbsp;</td>
  44.             <td><input id="filename3" type=file size=40 name=filename23></td>
  45.           </tr>
  46.           <tr> 
  47.             <td align="right">正&nbsp;&nbsp;文:</td>
  48.             <td>&nbsp;</td>
  49.           </tr>
  50.           <tr> 
  51.             <td colspan="2"><textarea class="p1" id="content" name="content" rows="20" wrap="physical" cols="65"></textarea></td>
  52.           </tr>
  53.           <tr align="center"> 
  54.             <td colspan="2"> 
  55.               <input type="submit" name="Submit" value="提交">
  56.               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  57.               <input type="reset" name="Submit2" value="重置">
  58.             </td>
  59.           </tr>
  60.         </form>
  61.       </table> 
  62.       <p>&nbsp;</p></td>
  63.   </tr>
  64.   <tr> 
  65.     <td height="9"><img src="../images/tab-b-bot.gif" height="9"></td>
  66.   </tr>
  67. </table>
  68. </body>
  69. </html>