高分跪求tomcat服务器的配置问题(Session cannot be resolved)
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 86 in the jsp file: /global/sendmail.jsp
Session cannot be resolved to a type
83: props.put("mail.smtp.auth", "true");//指定是否需要SMTP验证
84: try
85: {
86: Session mailSession = Session.getDefaultInstance(props);
87:
88: mailSession.setDebug(false);//是否在控制台显示debug信息
89:
An error occurred at line: 86 in the jsp file: /global/sendmail.jsp
Session cannot be resolved
我很多页面都出现这样的错误,希望高手能指点一下,谢谢了。
希望说的详细一点,我对jsp的配置也不懂,好像是设置有错误,就不知道在哪?