aspose file tools*
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
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: 61768
    
  67

<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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: I need to put a newlin in jsp:expression