dcsimg
How to Store bean:write name="ctype" property="value" / in a String variable..?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Padmanabh_Murthy
Posted On:   Tuesday, January 14, 2003 04:04 AM

hello everybody i have a vector object named "vContentTypes" which contains some objects of a bean class having an variable called "name". when i execute the following loop it displays the value of the property "name". but i want to store the value in a String variable inside the loop as i want to pass the value into some other method inside the loop. <%=vContentTypes%>"> Any suggestions will be appreciated. please give a sample code if solution is found. thanks .    More>>

hello everybody



i have a vector object named "vContentTypes" which contains some objects of a bean class having an variable called "name".


when i execute the following loop it displays the value of the property "name".


but i want to store the value in a String variable inside the loop as i want to pass the value into
some other method inside the loop.



<%=vContentTypes%>">







Any suggestions will be appreciated.

please give a sample code if solution is found.

thanks

.

   <<Less

Re: How to Store bean:write name="ctype" property="value" / in a String variable..?

Posted By:   UmaRani_KomatiReddy  
Posted On:   Thursday, January 16, 2003 03:33 PM

Hi, You can try in the following way..





Then,


<% String tName = (String)tempName;%>


All the best..


K.U
About | Sitemap | Contact