@Greg: do u put that code inside the bean? i can't do this.
@Jon thanks, but i've some problem with the " of the part: "%.100s"
the system found a end tag " at the first " that it encountred. i
tried to put \" but doesn't work.

On Mon, Jun 22, 2009 at 18:00, Jon Pearson<[email protected]> wrote:
> <s:property value="@java.lang.str...@format("%.100s", description)" />
> should work (check
> http://www.opensymphony.com/ognl/html/LanguageGuide/staticMethods.html
> for OGNL for calling static methods)
>
>> -----Original Message-----
>> From: Stefano Tranquillini [mailto:[email protected]]
>> Sent: Monday, June 22, 2009 11:58 AM
>> To: Struts Users Mailing List
>> Subject: Re: Display only 100 chars of a string
>>
>> On Mon, Jun 22, 2009 at 17:46, Jon
>> Pearson<[email protected]> wrote:
>> > String.format("%.100s", s);
>> how can i put this thing in the jsp?
>>
>>
>> --
>> Stefano
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to