帮忙看看这段程序,关于JSP和XML的!
这是某书上的一段例程,程序如下:
<?xml version = "1.0"?>
<jsp:directive.page contentType = "text/xml"/>
<PROPERTIES>
<DATE>
<% = new java.util.Date()%>
</DATE>
<TOTALMEM>
<% = java.lang.Runtime.getRuntime().totalMemory() %>
</TOTALMEM>
<FREEMEM>
<% = java.lang.Runtime.getRuntime().freeMemory() %>
</FREEMEM>
<JAVA>
<VERSION>
<% = System.getProperty("java.version")%>
</VERSION>
<VENDOR>
<% = System.getProperty("java.vendor") %>
</VENDOR>
</JAVA>
</PROPERTIES>
出错如下:
消息: Server caught unhandled exception from servlet [jsp10]: Compilation failed: "testxml.jsp" D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:131: Missing term. _jspx_writeString(out, new String(_jspx_html_data[1])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:135: Missing term. _jspx_writeString(out, new String(_jspx_html_data[2])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:139: Missing term. _jspx_writeString(out, new String(_jspx_html_data[3])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:143: Missing term. _jspx_writeString(out, new String(_jspx_html_data[4])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:147: Missing term. _jspx_writeString(out, new String(_jspx_html_data[5])); ^ 5 errors
应用服务器WebSphere 3.5.4!
多谢各位!
<?xml version = "1.0"?>
<jsp:directive.page contentType = "text/xml"/>
<PROPERTIES>
<DATE>
<% = new java.util.Date()%>
</DATE>
<TOTALMEM>
<% = java.lang.Runtime.getRuntime().totalMemory() %>
</TOTALMEM>
<FREEMEM>
<% = java.lang.Runtime.getRuntime().freeMemory() %>
</FREEMEM>
<JAVA>
<VERSION>
<% = System.getProperty("java.version")%>
</VERSION>
<VENDOR>
<% = System.getProperty("java.vendor") %>
</VENDOR>
</JAVA>
</PROPERTIES>
出错如下:
消息: Server caught unhandled exception from servlet [jsp10]: Compilation failed: "testxml.jsp" D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:131: Missing term. _jspx_writeString(out, new String(_jspx_html_data[1])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:135: Missing term. _jspx_writeString(out, new String(_jspx_html_data[2])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:139: Missing term. _jspx_writeString(out, new String(_jspx_html_data[3])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:143: Missing term. _jspx_writeString(out, new String(_jspx_html_data[4])); ^ D:\WebSphere\AppServer\temp\default_host\default_app\_wrp_2F_xml_2F_testxml_2E_jsp_jsp_1.java:147: Missing term. _jspx_writeString(out, new String(_jspx_html_data[5])); ^ 5 errors
应用服务器WebSphere 3.5.4!
多谢各位!
...全文
相关推荐
香农编码的R程序
香农编码的R程序
实验二香农编码的计算与分析.pdf
。。。
实验二香农编码的计算与分析.docx
。。。
用C语言编写的香农编码
#include #include #include #define max_CL 10 /*maxsize of length of code*/ #define max_PN 6 /*输入序列的个数*/ typedef float datatype; typedef struct SHNODE { datatype pb; /*第i个消息符号出现的概率*/ datatype p_sum; /*第i个消息符号累加概率*/ int kl; /*第i个消息符号对应的码长*/ int code[max_CL]; /*第i个消息符号的码字*/ struct SHNODE *next;
实验三 无失真信源编码.docx
。。。


Web 开发
