Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > SAX and Servlets - How?

Thread Tools

SAX and Servlets - How?

Michael Erangey
Posts: n/a
Hi all,

need some help on how to parse an xml file using SAX in a servlet.

I am completely lost on how to get it to work. I have no problem when it's a
stand alone command line program (there are enough examples out there) but
when I try to translate it to a servlet I lose it altogether.

I am trying to learn J2EE so any help would be appreciated. I just need some
sample code on how you parse using SAX in a servlet ie. Can I do it all in
one servlet, or for example on the Http Post do I call a generic servlet.

Appreciate any help.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat 5.5.6 : How to deploy and run JSP and Servlets Martin Java 6 12-11-2010 03:05 PM
static method and variables in servlets and APIs' classes Garg Java 6 02-20-2008 02:20 AM
Java servlets: Hi All! I want to display xml file in browser using servlets datta.saru Software 0 05-15-2006 03:30 PM
SAX & Servlets - How Michael Erangey Java 3 12-12-2003 10:29 AM