i got
< b > java < / b>
back
samsun wrote:
>
> I would like put my question simply like this:
>
> in jsp,
>
> <%! String test="java"; %>
> <%=test%>
> i got bold Java
>
> try to have same thing from struts2
>
> <s:set name="test" value="%{'java'}">
> <s:property value="#test" /> i got
> java back,which is not what i want
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> samsun wrote:
>>
>>
>>
>> samsun wrote:
>>>
>>> I have to iterate thru a list of strings, some of the string element
>>> include html tag
>>> like <b>Copmany Names:</b> it print out litterlly like this
>>> Copmany Names:, not the bolded word Company Names:
>>>
>>> here is what the iterate tag look like
>>> <s:iterator value="CompanyNames" status="stat">
>>> <tr>
>>> <td><s:property /> <br>
>>> </td>
>>> </tr>
>>> </s:iterator>
>>>
>>> btw, the CompanyNames is getting from other application's database, all
>>> the html tags are mixed in beyond
>>> my control, so have to display what is there.
>>>
>>>
>>> Thanks
>>> Sam
>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/iterator-tag%3A-how-to-interpret-the-property-value-which-are-html-tp25769502p25772037.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]