struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: html spaces
Date Thu, 10 Jul 2003 15:09:09 GMT
--- Ben Anderson <stuts_andersonbd1@hotmail.com> wrote:
> maybe this is a more genearl html/xml question - not really sure
> 
>             <c:set var="link">
>                 <bean:message key="path"/>
>                 <bean:message key="file">
>             </c:set>

Why are you using the JSTL's <c:set> tag but not the <fmt:message> tag? 
<fmt:message> is a straightforward replacement of the <bean:message> tag.

David

> 
> so this sets link to equal /mypath/somewhere/ myfile.htm
> obviously this puts a space in there and won't work.
> I know this will work:
>             <c:set var="link">
>                 <bean:message key="path"/><bean:message key="file">
>             </c:set>
> but does anyone know if there's a way to continue to the next line
> without 
> inserting a space?
> Thanks,
> Ben Anderson
> 
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message