<%
taxbean.setProduct("A002") ;
taxbean.setRate(17) ;
%> 兄弟,应该是
<%
TaxRate.setProduct("A002") ;
TaxRate.setRate(17) ;
%> 另外:
<jsp:getProperty name="taxbean" property="Product" />
中的name也是TaxRate,即:name="TaxRate"
taxbean.setProduct("A002") ;
taxbean.setRate(17) ;
%> 兄弟,应该是
<%
TaxRate.setProduct("A002") ;
TaxRate.setRate(17) ;
%> 另外:
<jsp:getProperty name="taxbean" property="Product" />
中的name也是TaxRate,即:name="TaxRate"
不好意思,俺94太粗心啦 :)
to gyn(hihi):
再请问一下,classpath在哪里呀,怎么加?还请明示!
把*.class放在tax/web-inf/classes下
是webpages/web-inf/classes/tax下