White space problem

2004-01-28 Thread McCormack, Chris
Hi all I am using struts with jstl. I have a problem that is a bit annoying. In the navigation jsp on one of my sites I have 2 nested c:forEach tags that have c:if tags inside them. If a bean element meets the c:if condition it gets c:out to the page, if not the loop skips over it until all

Re: White space problem

2004-01-28 Thread Nicolas De Loof
You can use the string:trim tag from jakarta taglibs Nico. Hi all I am using struts with jstl. I have a problem that is a bit annoying. In the navigation jsp on one of my sites I have 2 nested c:forEach tags that have c:if tags inside them. If a bean element meets the c:if condition it gets

Re: White space problem

2004-01-28 Thread James Mitchell
: [EMAIL PROTECTED] - Original Message - From: McCormack, Chris [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 5:19 AM Subject: White space problem Hi all I am using struts with jstl. I have a problem that is a bit annoying

RE: White space problem

2004-01-28 Thread McCormack, Chris
Thanks James the first solution worked fine. Chris -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: 28 January 2004 13:04 To: Struts Users Mailing List Subject: Re: White space problem Yes, same as with any tag or scriptlet. c:forEach c:if ... /c:if