[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Parsing XML & JSP problems


meichun li
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.