This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need to put a newlin in jsp:expression

 
Donna Bachner
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JSP using an arrayList. I am using:
<jsp:expression>
response.getAttribute("list")
</jsp:expression>
I want to put a line break between each entity of the "list". I get the information but it is all on one line. I have tried to concatenate a \n. and I tried a <br />
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<jsp:expression>???

You're not writing JSPs using the XML document format, are you?
 
Donna Bachner
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found my problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic