Wednesday, March 29, 2006 05:16 PM
My SAX parser assigns the XML values to servlet instance variables. I did it this way so both the parser class and the servlet will have access to them.
For example in the parser class,the character routine, will assign value from the XML document into instance variable defined for the servlet. When parsing is complete the main servlet now has the XML variables.
My problem is I am not sure if the parser class is thread safe. So am looking for an alternative to putting the XML variables to the servlet instance variables. Is there a better way to return them to the servlet.