挑战csdn高手
问题是:
jsp调com组件,我用的jacob,但出现如下问题:
org.apache.jasper.JasperException: A COM exception has been encountered:
At Invoke of: CreateThumbnail
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
com.jacob.com.ComFailException: A COM exception has been encountered:
At Invoke of: CreateThumbnail
com.jacob.com.Dispatch.invokev(Native Method)
com.jacob.com.Dispatch.invokev(Dispatch.java:804)
com.jacob.com.Dispatch.callN(Dispatch.java:440)
com.jacob.com.Dispatch.call(Dispatch.java:558)
org.apache.jsp.Album.test_jsp._jspService(test_jsp.java:53)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
注(我的环境是):tomcal5.0,jdk1.5,win xp, jacob1.9 知道问题答案麻烦告知一下,不胜感激。
------解决方案--------------------如何注册的?
代码啊