Servlet to get the document content.
Getting the parent for a document