Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.programmer Subject: Re: servlets Date: Wed, 08 Jun 2011 23:16:58 -0700 Organization: Canadian Mind Products Lines: 19 Message-ID: References: <29b85e8d-ada4-4395-bc7e-bd2985ab9f5f@j13g2000pro.googlegroups.com> Reply-To: Roedy Green NNTP-Posting-Host: RCd/Ul4tyxGUBII8WGwa5g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5150 On Wed, 8 Jun 2011 22:14:19 -0700 (PDT), suhas wrote, quoted or indirectly quoted someone who said : >how to create a new line in servlets?? if i use >Printwriter out= res.getwriter() >out.print() >no new line is creating...please help me out... It has nothing to do with Servlets. print does not emit a new line; println does. -- Roedy Green Canadian Mind Products http://mindprod.com How long did it take after the car was invented before owners understood cars would not work unless you regularly changed the oil and the tires? We have gone 33 years and still it is rare to uncover a user who understands computers don't work without regular backups.