DOM-to-String

2003-07-30 Thread Ben Johnson
All,
I have a org.w3c.dom.Document object and I want to pull the string
representation of it.  Do I need to use the Xerces XMLSerializer or is there
an interface for it within org.w3c.dom?


Ben Johnson
Senior Software Developer
 
Collect America, LTD.
1999 Broadway, Suite 2150
Denver, CO 80202
[p]: 303.296.3345 x124


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: DOM-to-String

2003-07-30 Thread Ben Johnson
 You need a DOMWriter.
 
 http://xml.apache.org/xerces2-j/javadocs/api/org/w3c/dom/ls/DOMWriter.html


Derrick,
Where do I find an implementation of DOMWriter?

Ben Johnson


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Education

2003-07-28 Thread Ben Johnson
Hello all,
I'm new to the Tomcat world and I'm desperately trying to find some
good resources to learn from.  I bought Professional Apache Tomcat (Wrox)
and it's decent but it's for version 3.0 or something.  I also have a
Servlet book from O'Reilly but it doesn't help when integrating with Tomcat.
I've spent an inordinate number of hours just trying to figure out how to
pull DataSources using the admin tool and I still haven't figured it out.

Anybody have any resource or book ideas?  Thanks!


Ben Johnson
Senior Software Developer
 
Collect America, LTD.
1999 Broadway, Suite 2150
Denver, CO 80202
[p]: 303.296.3345 x124


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat Education

2003-07-28 Thread Ben Johnson
 There are several (about a half dozen) books available 
 for Struts right now.

To be more specific, we're using Tomcat purely as a data marshalling layer
to push database information to the client as either CSV or XML data.  I
haven't worked with Struts before so I'm not sure if I still have a need for
it as I'm only working with the Model and not the View.

Also, we're working entirely with servlets so anything biased toward
servlets would be preferred.


Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Admin DataSource Usage

2003-07-28 Thread Ben Johnson
All,
I've seen several places where setting up a DataSource is documented
but it's always through the web.xml file.  This post is for two questions.
First, is it better to setup a DataSource through the web.xml file or is it
better to setup through the admin tool and are there benefits to one or the
other?  We only have one application here so an per-application restricted
DataSource is not needed.  

Second, once I do have the DataSource setup through the admin tool, how do I
go about using it through a servlet?


Ben Johnson
Senior Software Developer
 
Collect America, LTD.
1999 Broadway, Suite 2150
Denver, CO 80202
[p]: 303.296.3345 x124


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]