前台:
<script type="text/javascript">
LoadContextStdGuote();
function LoadContextStdGuote(){
var stdCompanyId = document.getElementById("stdCompany.id").value;
var mill=(parseInt(Math.random()*10000)).toString();
var url = '<%=contextPath%>/businessStdCompany/CompanyLibStdManageloadContextStdGuoteAction.action?currentTimeSerial='+mill+'&stdCompany.id='+ stdCompanyId;
alert(url);
$('#contextStdGuote').load(url);
}
</script>
后台:
public String loadContextStdGuote(){
if(stdCompany!=null && stdCompany.getId()!=null){
Integer stdCompanyId = stdCompany.getId();
List stdCompanyGuoteList = stdCompanyGuoteDAO.findByProperty("stdCompany.id",stdCompanyId);
}
这里的
public 不能为
private,否则不能调整过来。