This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 63202
    
  69

<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.
 
Have you checked out Aspose?
 
subject: I need to put a newlin in jsp:expression
 
It's not a secret anymore!