高手,指教struts的简单问题!

theMost 2004-05-10 10:59:42
我用struts写的程序:birth-edit.jsp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" %>
<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<!--html:html locale="true"-->
<html>
<head>
<link rel="stylesheet" href="../../example.css" type="text/css">
<script language="JavaScript" src = "../../docViewer.js"></script>
<title>
出生证明信息
</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
</head>
<html:errors/>
<body bgcolor="#ffffff">
<html:form action="/egPage/popu/birth/birth-edit.do" method="post">
<table cellspacing="0" cellpadding="0" class="tagtable">
<tr>
<td><img src="../../images/tag_left.gif" width="18" height="24"></td>
<td class="tag">
<logic:equal name="transParams" property="actionType" scope="session" value="3">
出生证明信息
</logic:equal>
</td>
<td ><img src="../../images/tag_right.gif" width="18" height="24"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="66%" class="Tborder">
<tr>
<td class="Tright">出生证编号:</td>
<td class="Tlist"><html:text property = "serial" size = "15"/>
</td>
<td class="Tright">签发机构名称:</td>
<td class="Tlist"><html:text property = "accoucheORG" size = "25"/>
</td>
</tr>
<tr>
<td class="Tright">新生儿姓名:</td>
<td class="Tlist"><html:text property = "name" size = "10"/>
</td>
<td class="Tright">性别:</td>
<td class="Tlist"><html:text property = "sex" size = "5"/>
</td>
</tr>
<tr>
<td class="Tright">出生时间:</td>
<td class="Tlist"><html:text property = "birthTime" size = "20"/>
</td>
<td class="Tright" >出生地点:</td>
<td class="Tlist"> <html:text property = "birthAddress" size = "25"/>
</td>
</tr>
<tr>
<td class="Tright">出生孕周:</td>
<td class="Tlist"> <html:text property = "pregnantWeek" size = "5"/>周
</td>
<td class="Tright" >健康状况:</td>
<td class="Tlist"> <html:text property = "health" size = "15"/>
</td>
</tr>
<tr>
<td class="Tright" >体重:</td>
<td class="Tlist"> <html:text property = "weigth" size = "5"/>克
</td>
<td class="Tright" >身长:</td>
<td class="Tlist"> <html:text property = "height" size = "5"/>公分
</td>
</tr>
<tr>
<td class="Tright" >产地类型:</td>
<td class="Tlist"> <html:text property = "birthAddType" size = "15"/>
</td>
<td class="Tright" > </td>
<td class="Tlist"> 
</td>
</tr>
<tr>
<td class="Tright" >母亲姓名:</td>
<td class="Tlist"> <html:text property = "motherName" size = "10"/>
</td>
<td class="Tright" >母亲身份证号:</td>
<td class="Tlist"> <html:text property = "motherCID" size = "25"/>
</td>
</tr>
<tr>
<td class="Tright" >父亲姓名:</td>
<td class="Tlist"> <html:text property = "fatherName" size = "10"/>
</td>
<td class="Tright" >父亲身份证号:</td>
<td class="Tlist"> <html:text property = "fatherCID" size = "25"/>
</td>
</tr>
<tr>
<td class="Tright" >接生人员:</td>
<td class="Tlist"> <html:text property = "midWife" size = "10"/>
</td>
<td class="Tright" > </td>
<td class="Tlist"> 
</td>
</tr>
<tr>
<td class="Tright" >生育证号:</td>
<td class="Tlist"> <html:text property = "pregnancyCardSerial" size = "15"/>
</td>
<td class="Tright" >有效性:</td>
<td class="Tlist"> <html:text property = "isValid" size = "5"/>
</td>
</tr>
</table>
<table class="remark" width="70%" >
<tr class="button">
<td colspan="4" class="button">
<logic:equal name="transParams" property="actionType" scope="session" value="3">
<html:cancel>返回</html:cancel>
</logic:equal>
</td>
</tr>
</table>
</html:form>
</body>
<!--html:html-->
<html>


用jbuilder9+tomcat4.1编译出现如下错误:

"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [document]
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope URI is absolute: http://java.sun.com/dtd/web-app_2_3.dtd
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope this SYSTEM id is absolute: http://java.sun.com/dtd/web-app_2_3.dtd
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [dtd]
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: missing system ID, using http://java.sun.com/dtd/web-app_2_3.dtd
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: URI was not reported to parser for entity [document]
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope URI is absolute: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
"birth-edit.jsp": ParserUtils: warning org.xml.sax.SAXParseException: No base URI; hope this SYSTEM id is absolute: http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
...全文
24 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

81,094

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧