Hi, I'm using Jbuilder, Tomcat4.1.
I built a project BSC which used to run your example from the book chapter16/RegisterForm1.java. I run it through the main() method, everything is good, and register_form1.pdf is beautiful. Then I want to run RegisterForm1.java from JSP. I created a test.jsp in another project WEBDEV which has very simple 2 lines: *********************************************************** <%@ page import="bsc.RegisterForm1" %> <% RegisterForm1.createPdf(); %>. *********************************************************** When I run my jsp I got the following error: ******************************************************************************* javax.servlet.ServletException: com.lowagie.text.Rectangle.getLeft(F)F at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536) at org.apache.jsp.test_jsp._jspService(test_jsp.java:70) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) ........ ******************************************************************************* In BSC I included the iText-2.0.6.jar. why I got this error? Please help. Thanks in advance. Sarah -- View this message in context: http://www.nabble.com/run-register_form1.java-from-JSP-error-tf4956250.html#a14192962 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
