我的jsp发送HTML邮件的问题
错误如下
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
An error occurred between lines: 20 and 92 in the jsp file: /sendmailHTML.jsp
Generated servlet error:
C:\Tomcat 4.0\work\Standalone\localhost\_\sendmailHTML$jsp.java:110: Missing term.
}
^
An error occurred between lines: 20 and 92 in the jsp file: /sendmailHTML.jsp
Generated servlet error:
C:\Tomcat 4.0\work\Standalone\localhost\_\sendmailHTML$jsp.java:111: Missing term.
<html>
^
An error occurred between lines: 20 and 92 in the jsp file: /sendmailHTML.jsp
Generated servlet error:
C:\Tomcat 4.0\work\Standalone\localhost\_\sendmailHTML$jsp.java:112: Missing term.
<head>
^
An error occurred between lines: 20 and 92 in the jsp file: /sendmailHTML.jsp
Generated servlet error:
C:\Tomcat 4.0\work\Standalone\localhost\_\sendmailHTML$jsp.java:113: '; ' expected.
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
^
An error occurred between lines: 20 and 92 in the jsp file: /sendmailHTML.jsp
Generated servlet error:
C:\Tomcat 4.0\work\Standalone\localhost\_\sendmailHTML$jsp.java:125: '; ' expected.
String to_content1= " "out.print( " <Td width=50 > "+ "语文 ") "+ "out.print( " <Td width=50> "+ "数学 ") "+ "out.print( " <Td width=50> "+ "英语 ") " ";
[解决办法]
这是你的java file问题。。。
试着java mail,网上找个example
[解决办法]
你把出错的那句复制到编辑器中看看,引号都不匹配。不知道你这样写有什么用?
[解决办法]
关注!
我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.myexception.cn/j2ee/2308.html