首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

小弟我的jsp发送HTML邮件的有关问题

2013-09-11 
我的jsp发送HTML邮件的问题错误如下org.apache.jasper.JasperException:UnabletocompileclassforJSPNote:s

我的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

热点排行