救救孩子把:javax.servlet.jsp.JspException: Cannot find bean: "gsClientCorporateDto" in any scope
这是哪里存现了问题
<link href="/common/css/Standard.css" rel="stylesheet" type="text/css">
<%
String type = (String)request.getAttribute("type");
%>
<script language="javascript">
//点查询
function selceSubmit(){
fm.action="/sales/corporateQuery.do?actionType=bussinessSourceNameResult";
fm.target="QueryResultFrame";
fm.submit();
}
//点选择
function selectBussinessSource(){
var count = QueryResultFrame.getElementCount('checkboxSelect');
var clientIndex = 0;
if(count == "") {
alert("" );
return false;
}
else if(count==1){
if(!QueryResultFrame.fm.checkboxSelect.checked==true) {
alert("" );
return false;
}
}
else {
var n = 0;
for(var i=0;i<QueryResultFrame.fm.checkboxSelect.length;i++){
if(QueryResultFrame.fm.checkboxSelect[i].checked == true){
n = n+1;
clientIndex = i;
break;
}
}
if(n == 0) {
alert("" );
return false;
}
}
var agreementArray = new Array();
agreementArray['bussinessSource']=QueryResultFrame.document.getElementsByName("bussinessSource")[clientIndex].value;
agreementArray['bussinessSourceName']=QueryResultFrame.document.getElementsByName("bussinessSourceName")[clientIndex].value;
if(evaluateMainFrameAgreement(agreementArray, window.parent.opener.fm)){
}else{
window.parent.close();
}
}
function evaluateMainFrameAgreement(agreementArray,mainFrameForm){
if(agreementArray != null) {
var type=document.getElementsByName("type")[0].value;
if(type==1){
mainFrameForm.gsClientCorporateDtoBussinessSource.value = agreementArray['bussinessSource'];
mainFrameForm.gsClientCorporateDtoBussinessSource.onchange();
}
}
}
script>
head>
<base target="_self">
<body onload="initBody();">
<html:form action="/sales/corporateQuery.do?actionType=bussinessSourceNameResult" target="QueryResultFrame">
<input type="hidden" name="type" value="<%=request.getAttribute("type")%>">
<table id="BeforeOverViewMain" class="common" cellpadding="2" cellspacing="1">
<tr><td class="formtitle" colspan="4"><bean:message key="prompt.queryBussinessSource"/>td>tr>
<tr>
<td class="left"><bean:message key="GsClientCorporateDto.bussinessSource"/>td>
<td class="right">
<input name="ggCodeDtoCodeCode" class="common" type="text" maxlength="18">
td>
<td class="left"><bean:message key="GsClientCorporateDto.bussinessSourceName"/>td>
<td class="right">
<input name="ggCodeDtoCodeCname" class="common" type="text">
td>
tr>
table>
<table id="buttontable" class="button" cellpadding="5" cellspacing="1">
<tr align="center">
<td align="center">
<input type="button" class="button" value="button.find " />" onClick="selceSubmit()" >
td>
<TD align="center">
<input type="button" class="button" value="GuItemKindLoadingDto.selectedInd " />" onClick="selectBussinessSource();" />TD>
tr>
table>
<table class="button" cellpadding="5" cellspacing="1">
<tr>
<td ><iframe name="QueryResultFrame" src='about:blank' style='Z-INDEX:1;WIDTH:100%;HEIGHT:410'
marginwidth='0' marginheight='0' hspace='0' vspace='0' frameborder='0' scrolling='no'> iframe>td>
tr>
table>
<jsp:include page="/common/StaticJavascript.jsp" />
html:form>
body>
html>
<html:form action="/sales/corporateQuery.do?actionType=bussinessSourceNameResult" >
<html:hidden property="pageNo"/>
<html:hidden property="rowsCount" />
<html:hidden property="rowsPerPage"/>
<div id="div" style="MARGIN:2pt; OVERFLOW:scroll; width:98%; height:400px;">
<TABLE border="0" cellpadding="0" cellspacing="1" class="common" id=ResultTable
style="table-layout:fixed;word-break:break-all">
<thead>
<tr class="tableHead">
<td width="18%" class="top" style="text-align:center" type="Number">
<bean:message key="prompt.serialNo" />
td>
<td width="40%" class="top"><bean:message key="GsClientCorporateDto.bussinessSource"/>td>
<td width="55%" class="top"><bean:message key="GsClientCorporateDto.bussinessSourceName"/>td>
tr>
thead>
<tbody>
<logic:notEmpty name="resultList">
<%int index=0;%>
<logic:iterate id="ggCodeDto" name="resultList">
<TR class="<%=index%2==0?"odd":"even"%>">
<TD>
<INPUT type="radio" name="checkboxSelect" value="<%=index%>">
<INPUT type="hidden" value="" name="codeType" />
<app:navigateNo name="fm" objectName="fm" index="<%=++index%>"/>
TD>
<TD align="center">
<bean:write name="ggCodeDto" property="codeType"/>
TD>
<TD>
<INPUT type="hidden" value="ggCodeDto " property="bussinessSource"/> " name="bussinessSource" />
<bean:write name="gsClientCorporateDto" property="bussinessSource"/>
TD>
<TD align="center">
<INPUT type="hidden" value="ggCodeDto " property="bussinessSourceName"/> " name="bussinessSourceName" />
<bean:write name="gsClientCorporateDto" property="bussinessSourceName"/>
TD>
TR>
logic:iterate>
logic:notEmpty>
TBODY>
<tfoot>
<tr class="common">
<td colspan=9><app:navigate name="fm" objectName="fm" />td>
tr>
tfoot>
TABLE>
div>
html:form>
<jsp:include page="/common/StaticJavascript.jsp" />
BODY>
HTML>