printing in servlet