when i display a document, it says[#document: null]same when i display document.getdocumentelement..however when i convert it to string and disp it works fine..used to work fine in tomcat..how do i get this rite?