Hi there,
Viji here, I have got a DTD of a xml document with me, I have to
develop a xml file through java using com.xml.tree.XMLDocument package,I
have posted a servlet also.Finally I want a xml file with me that is doc
object of XMLDocument.

XMLDocument doc ;this doc I want to put in a session object
and then afterwards I can retrive the data.
The error I am getting is that it is saying that com.sun.xml.tree
class not found I have included in my classpath xml.jar,jaxp.jar,parser.jar
.still it is not working.so please try to run this servlet.