存取javabean

用<jsp:setProperty >标签来设定javabean的属性,通过以下方式来设定:

<jsp:setProperty name="someBean" property="someProperty" value="somevalue"/>

<jsp:setProperty name="someBean" param="requestParam" property="someProperty"/>

<jsp:setProperty name="someBean" property="someProperty"/>

<jsp:setProperty name="someBean" property="*"/>

取得javaBean的属性,用<jsp:getProperty>标签

<jsp:getProperty name="someBean" property="someProperty" />

<script type="text/javascript"> &lt;!-- google_ad_client = "pub-3051157228350391"; google_alternate_color = "FF0000"; google_ad_width = 300; google_ad_height = 250; google_ad_format = "300x250_as"; google_ad_channel ="2408491454"; google_ad_type = "text_image"; google_page_url = document.location; google_color_border = "FF4500"; google_color_bg = "FFEBCD"; google_color_link = "DE7008"; google_color_url = "E0AD12"; google_color_text = "8B4513"; //--&gt; </script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script> name="google_ads_frame" marginwidth="0" marginheight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-3051157228350391&dt=1120828192171&alt_color=FF0000&format=300x250_as&output=html&channel=2408491454&url=http%3A%2F%2Fblog.csdn.net%2Ffckeditor%2Feditor%2Ffckeditor.html%3FInstanceName%3DEditor_Edit_FCKEditor%26Toolbar%3DDefault&color_bg=FFEBCD&color_text=8B4513&color_link=DE7008&color_url=E0AD12&color_border=FF4500&ad_type=text_image&u_h=768&u_w=1024&u_ah=740&u_aw=1024&u_cd=32&u_tz=480&u_his=22&u_java=true" frameborder="0" width="300" scrolling="no" height="250" allowtransparency="65535">
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值