This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I need to put a newlin in jsp:expression  RSS feed

 
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
Posts: 65826
134
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
Boost this thread!