hi,

try this.

<bean:define id="pid">
<bean:write name="partlist" property="pid"/>
</bean:define>

Thanks,

Nuwan


----- Original Message ----- From: "john lee" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, May 07, 2007 10:06 PM
Subject: how to assign <bean:write...to jsp variable ?


Anyone help for the following?

inside jsp, i try to do the following, but cause error, what is the solution? tks in advance

 <% String pid="%><bean:write name="partlist" property="pid"/> <%"%>

 but give the error

 String literal is not properly closed by double-quote.

 john


---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to