if ((eion
getValue("UerName")==null)(eion
getValue("UerCla")==null)(
││││eion
getValue("U erCla")
equal("系统管理员"))) { repone
endRedirect("err
jp id=14"); return; }<jp:ueBean id="myBaket" cla="BaketBean" > <jp:etPropertyname="myBaket" property="某"/ > <j p:ueBean > <html > <head><title>Your Baket</title></head > <body > <p > You have added th e item <jp::getProperty name="myBaket" property="newItem"/ > to your baket
<br/ > Your to tal i $ <jp::getProperty name="myBaket" property="balance"/ > Proceed to <a href="checkou t
jp">checkout</a> 注意到 property="某"了吗
这表明用户在可见的 JSP 页面中输入的,或是直接通过Query String 提交的全部变量的值,将存储到匹配的 bean 属性中
一般,用户是这样提交请求的: /addToBaket
jp newItem=ITEM0105342 但是不守规矩的用户呢
他们可能会提交: /addToBaket
jp newItem=ITEM0105342&balance=0 这样,balance=0 的信息就被在存储到了 JavaBean“中了
当他们这时点击 chekout”结账的时