MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » 急求一个jsp代码里头的疑问

急求一个jsp代码里头的疑问

www.MyException.Cn  网友分享于:2013-11-30  浏览:650次
急求一个jsp代码里面的疑问
首先在后台servlet代码中,加入了wResultData.setModelCode(),然后在前台jsp文件中取出,显示在叶面,但是总提示Error,请诸位大哥帮我检查一下,看看问题出在那里?而且最好能推荐给我一个好的jsp页面调试工具,谢谢了!

<%@   page   errorPage= "/public_html/DAPX/DAPX9999/JspError.jsp "   session= "false "   contentType= "text/html;   charset=GBK "%>

<%@   page   import= "JP.co.SMOJ.DAPA.DAPX7010.model.AResultData "   %>
<%@   page   import= "java.util.* "   %>
<%@   page   import= "JP.co.SMOJ.DAPA.DAPA0000.model.ACodePatcher "   %>
<%
//寢壥僨乕僞傪庢摼偡傞
String   strSessionID   =   (String)request.getAttribute( "SessionID ");
        AResultData   wResultData   =   (AResultData)request.getAttribute(strSessionID);

//   僒乕僶XML儊僢僙乕僕
String   wServerXMLMessage   =   (String)request.getAttribute( "DAPA0001.APP.XMLMESSAGE ");
if(wServerXMLMessage   ==   null)
{
wServerXMLMessage   =   " ";
}
%>

<HTML>
<HEAD>
<META   HTTP-EQUIV= "Content-Language "   CONTENT= "cn ">
<META   HTTP-EQUIV= "Content-Type "   CONTENT= "text/html;   charset=GBK ">
<XML   id   =   "xmlMessage "> <%=   wServerXMLMessage   %> </XML>
<TITLE> Master   Information(DAPX7010) </TITLE>
<LINK   REL= "STYLESHEET "   TYPE= "text/css "   HREF= "/dap/public_html/DAPX/common/DAPX0000.css "   TITLE= "DAPX0000.css ">
<SCRIPT   language= "JavaScript "   src= "/dap/public_html/DAPX/common/DAPX3005.js "> </SCRIPT>
<SCRIPT   language= "JavaScript "   src= "/dap/public_html/DAPA/DAPA0000/ACodePatcher.js "> </SCRIPT>
<SCRIPT   language= "JavaScript "   SRC= "/dap/public_html/DAPA/common/CommonFunction.js "> </script>

<SCRIPT   language= "JavaScript ">
<!--


function   window_onLoad(){
//堦僷僢働乕僕偺悢検
var   strCartonQty   =   <%=wResultData.getCartonQty()%> ;
if(strCartonQty   ==   null){
divCartonQty.innerText   =   " ";
}
else{
divCartonQty.innerText   =   addComma(strCartonQty+ " ");
}

//   僒乕僶乕儊僢僙乕僕偺昞帵
var   wResultFlag   =   checkPopupServerMessage(xmlMessage,   window.dialogArguments.parent.parent.parent);

}

//   CLOSE儃僞儞墴壓帪
function   CallClose()
{
window.close();
}

-->
</SCRIPT>

</HEAD>

<BODY   onLoad= "window_onLoad() ">

<table   border= "0 "   CELLPADDING=0   CELLSPACING=0     width= "100% ">
<tr>
<td>
<!--僿僢僟晹-->
<TABLE   CLASS= "tblHeader "   height= "34 ">
<TR>
<TD   height= "30 "> <b> <font   size= "3 "> Master   Information </font> </b> </TD>
</TR>
</TABLE>
</td>
</tr>
<tr   HEIGHT=   "5 ">
<td> </td>
</tr>
<!--僨乕僞晹-->

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有