On Mon, 2002-10-28 at 07:04, IAS wrote:
> There were actually several stops due to the internet disconnection, and
> I failed because of javamail's absence, which build.xml didn't check
> out. 

Yea, the SendMail... example always busts on when I compile also.  I
always do this (reflexively),

echo>/home/bobh/t5/jakarta-servletapi-5/jsr152/examples/WEB-INF/classes/SendMailServlet.java

Then everything compiles fine.  There really should be a check for this
in the servletapi build.xml  I should submit a patch... 

Cheers,
-bob

> I put javamail configuration to build.properties like this:
> # ----- Java Mail, version 1.2 or later -----
> mail.home=${base.path}/javamail-1.3
> mail.lib=${mail.home}
> mail.jar=${mail.lib}/mailapi.jar
> With the above addition, I also copied a javamail jar to javamail-1.3
> directory. After this treatment, I succeeded in building Tomcat 5.
> 
> As of its running, the document (running.txt) says it requires JDK 1.2
> or later. I tested webapps/ROOT/index.jsp with the following
> modification:
> (the number in left-side is line number for convenience of
> presentation.)
> 0 : <!doctype html public "-//w3c//dtd html 4.0 transitional//en"
> http://www.w3.org/TR/REC-html40/strict.dtd";>
> 1 : <%
> 2 :   out.printlx("aa");
> 3 : %>
> ...
> 
> The invocation of this page resulted in the below:
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> An error occurred at line: 1 in the jsp file: /index.jsp
>                                ---
> ...
> \build\work\Standalone\localhost\_\index_jsp.java:51: cannot resolve
> symbol
> symbol  : method printlx (java.lang.String)
> location: class javax.servlet.jsp.JspWriter
>       out.printlx("aa");
>            ^
> 1 error
> 
> The exact line causing an error in JSP is 2, and it is not compliant
> with JSP 2.0's debugging support. Moreover,
> 0 : <!doctype html public "-//w3c//dtd html 4.0 transitional//en"
> http://www.w3.org/TR/REC-html40/strict.dtd";>
> 1 : <%
> 2 :   out.println("aa");
> 3 :   out.printlx("aa");
> 4 : %>
> ...
> also displayed the same result in terms of JSP line:
> An error occurred at line: 1 in the jsp file: /index.jsp
> ...
> \build\work\Standalone\localhost\_\index_jsp.java:52: cannot resolve
> symbol
> symbol  : method printlx (java.lang.String)
> location: class javax.servlet.jsp.JspWriter
>       out.printlx("aa");
>            ^
> 1 error
> 
> In this case, the error line of the jsp file is 3. I guess Tomcat
> 5(Jasper 2) may not implement debugging support specified in JSP 2.0
> spec. I'd like to know whether it is possible to do so without JDK
> 1.4(Merlin's JPDA-level support) and how the discussion on this issue
> with JSR-152 EG is going.
> 
> Thanks for your great work again.
> 
> IAS
> 
> Independent Java Technology Evangelist
> http://www.iasandcb.pe.kr
> 
> Jakarta Seoul Project Coordinator
> http://jakarta.apache-korea.org
> 
> > -----Original Message-----
> > From: Remy Maucherat [mailto:remm@;apache.org]
> > Sent: Monday, October 28, 2002 7:08 PM
> > To: Tomcat Developers List
> > Subject: [5.0] New build documentation, docs online
> > 
> > New Tomcat 5.0 docs online (linked from the main Tomcat page):
> > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html
> > 
> > New building documentation:
> > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/BUILDING.txt
> > 
> > Comments ?
> > 
> > Remy
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:tomcat-dev-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:tomcat-dev-
> > [EMAIL PROTECTED]>
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>

Reply via email to