[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Parsing XML & JSP problems
You don't say what error you get, so it is difficult to determine where your code fails. The only possible problem I see is enclosing your date value in quotes. Depending on what database you use, this might not work if you are inserting the date into a date/time column (as opposed to a character column). Perhaps more relevant is that there are a number of products available for inserting data into a database from an XML document. Using one of these would save you from having to write most of this code -- you could wrap one of the Java products in a JavaBean. Furthermore, they would save you from writing more code each time you want to insert data from a different XML document -- most of the products are configurable by some sort of mapping tool. For a list of products, see: http://www.rpbourret.com/xml/XMLDatabaseProds.htm You'll probably be most interested in middleware and XML-enabled databases. -- Ron Meichun Li wrote: > > Hi, > > I have troubles in Paring XML element into database > using JSP. The data couldn't be inserted into the table. > More detail about the questions are as below.The JavaBean class is > converted from a class that works well for parsing XML. > Would you please give me some hints or recommend some books/websites > about parsing XML& JSP for references? > Thanks a lot in advance! > > -Meichun
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|