... which you should NOT do. It's deprecated, and -even more importantly- does not guarantee that the servlet is thread-safe.
Much better to write the code in a thread-safe manner. That means protecting all mutable shared data -e.g. instance fields- against concurrent access (if one of the accesses might change the data). [ January 08, 2008: Message edited by: Ulf Dittmer ]
girl power ... turns out to be about a hundred watts. But they seriuosly don't like being connected to the grid. Tiny ad:
a bit of art, as a gift, the permaculture playing cards