This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes I need to put a newlin in jsp:expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "I need to put a newlin in jsp:expression" Watch "I need to put a newlin in jsp:expression" New topic
Author

I need to put a newlin in jsp:expression

Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
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

Joined: Jan 10, 2002
Posts: 60810
    
  65

<jsp:expression>???

You're not writing JSPs using the XML document format, are you?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
I found my problem.
 
wood burning stoves
 
subject: I need to put a newlin in jsp:expression
 
Similar Threads
Xml equivalents
JSP and XML
Using XML style JSP tags
Problem with XML syntax
How to write jsp with xml syntax