tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Day <Matthew....@buckingham.ac.uk>
Subject RE: "\n" problem.
Date Wed, 13 Sep 2000 03:22:06 GMT
Do you mean in the page source or when the output is viewed in the browser.
If (b) then try <br> instead of \n

Cheers
Mat

> -----Original Message-----
> From: yangyuexiang [mailto:yangyuex@comp.nus.edu.sg]
> Sent: 13 September 2000 04:23
> To: tomcat-user@jakarta.apache.org
> Subject: "\n" problem.
> 
> 
> > Hi,
> 
> I have such lines like:
> 
> out.println("Hello world\n");
> out.println("Hello world\n");
> out.println("Hello world\n");
> 
> Why these lines are displayed in one line of the browser?
> 
> Thanks
> yangyuexiang
> 

Mime
View raw message