Could it be that you forget to let the config servlet run first? Cheers Henner > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im > Auftrag von Mary Wang > Gesendet: Sonntag, 17. Oktober 2004 16:28 > An: [EMAIL PROTECTED] > Betreff: [dbforms] diskblob example failed! > > Hi, > I am a dbforms newbie and now I am following dbforms users > guide to learn it. > > I can run the parrotdb example very well.I added a table > named pets in my parrotdb databse in my sqlserver 2000. And > I added the following pets table information in my > dbforms-config.xml file. > > <table name="pets" > defaultVisibleFields="pet_id" > > <field name="pet_id" fieldType="int" size="10" > isKey="true" autoInc="true"/> > <field name="name" fieldType="char" size="30"/> > <field name="portrait_pic" fieldType="image" > size="2147483647" directory="c:" encoding="true" /> > <field name="story" fieldType="image" size="2147483647" > directory="c:" encoding="true" /> > > <!-- add "granted-privileges" element for security > constraints --> </table> > > > After visited > http://localhost:8080/dbfsample/petportraits.jsp ,the response is: > > <<<<<<<<<<<<<<<<<<<<<<<<<<<< > > root cause > java.lang.Exception: Table pets not found in configuration > org.dbforms.taglib.DbFormTag.setTableName(DbFormTag.java:685) > > org.apache.jsp.petportraits_jsp._jspService(petportraits_jsp.java:127) > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServlet > Wrapper.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) > >>>>>>>>>>>>>>>>>>>>>>> > > Can you help me out? > > > ________________________________________________________ > Create like a god, Command like a king, Work like a slave. > > > > ________________________________ > > Do You Yahoo!? > 150万曲MP3疯狂搜,带您闯入音乐殿堂 <http://music.yisou.com> > 美女明星应有尽有,搜遍美图、艳图和酷图 <http://image.yisou.com> > 1G就是1000兆,雅虎电邮自助扩容! > <http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.c > om/event/mail_1g/> >
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms