• Post Reply Bookmark Topic Watch Topic
  • New Topic

New line without using <BR> tag.

 
Jinal Dhruv
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to enter a new line in jsp page without using a <BR> tag?
I want to download contens in text file and I am using response.setContentType("text/plain"); but with this <BR> tag is also coming.
Is there an other way around?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the <br> markup in the origin text? What's putting it there?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait a second! why are you trying to use JSP to handle a file transmission?

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!