|
-
Jan 15th, 2002, 10:45 PM
#1
Thread Starter
Member
What's wrong with this JSP picture? [resolved]
Code:
<!-- Page based on TurtleTips.com template -->
<%@ include file="/header.jsp" %>
<%@ page import="javax.mail.*" %>
<%@ page import="javax.mail.internet.*" %>
<%@ page import="javax.activation.*" %>
all my HTML with no JSP tags
.
.
.
<%@ include file="/footer.jsp" %>
Tomcat gives me the ever-useful error and warning:
org.apache.jasper.JasperException: Unable to compile D:\Programs\Tomcat\work\DEFAULT\apacheroot\sendmail_1.java:104: No method matching flushBuffer() found in class org.apache.jasper.runtime.JspWriterImpl.
((org.apache.jasper.runtime.JspWriterImpl)out).flushBuffer();
^
Note: D:\Programs\Tomcat\work\DEFAULT\apacheroot\sendmail_1.java uses or overrides a deprecated API. Recompile with "-deprecation" for details.
What's up?
Last edited by filburt1; Jan 17th, 2002 at 04:47 PM.
-
Jan 16th, 2002, 12:04 PM
#2
Addicted Member
The only thing I can think of is there are references to flushBuffer() in either header.jsp or footer.jsp. And apparently flushBuffer() has been deprecated.
cudabean
-
Jan 17th, 2002, 03:55 PM
#3
Thread Starter
Member
Nope, nowhere. I found out the problem: there were some J2EE and J2SE classes competing, so I deleted the J2EE ones and all is well.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|