|
我以前的jsp页面还可以打开呢,怎么我加了个<html:form>之后就有错误了呢?
页面代码如下:
(页面头略)
<html:html>
<head>
<title>::::在线考试系统::::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="/exam/css/Style.css" rel="stylesheet" type="text/css">
<META content=CnSohoW设计 name=description>
<META content="firekinger@163.com" name=author>
</head>
<body>
<p> </p>
<table width="506" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#d2ebff" class="Xsmall">
<tr bgcolor="#FFFFFF">
<td height="28" colspan="4">
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD
height=25 background=/exam/img/backt.gif class="Xsmall"><strong>试题浏览</strong></TD>
</TR>
</TBODY>
</TABLE>
</td>
</tr>
<html:form action="/questionSearch">
<tr bgcolor="#FFFFFF">
<td height="30" colspan="4"><div align="center">
<font color="#0000FF"></font></div>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="4"><div align="center">
<table width="490" border="0" cellpadding="0" cellspacing="0" class="Xsmall">
<tr>
<td width="126"><div align="center"><img src="/exam/img/query_1.gif" width="12" height="13" align="absmiddle"> 快速检索
-></div>
<div align="center"></div></td>
<td width="221">关键字:
<html:text property="keyText" styleClass="Sborder" styleId="keyText" size="18" maxlength="20"></html:text>
<td width="51">
<div align="left">
<html:submit property="enter" styleClass="Sborder" styleId="enter" value="确 定"></html:submit>
</div></td>
<td width="92"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="100" height="25"><div align="center">题 目</div></td>
<td width="350"><div align="center">选 项</div></td>
<td width="200"><div align="center">类 型</div></td>
<td width="50"><div align="center">删除否</div></td>
<td width="50"><div align="center">更 新</div></td>
</tr>
<logic:iterate id="e" name="coll">
<tr bgcolor='#FFFFFF'>
<td height='25'>
⊙ <bean:write name="e" property="detail"/>
</td>
<td>
<div align='center'><bean:write name="e" property="choices"/></div>
</td>
<td>
<div align='center'><bean:write name="e" property="note"/></div>
</td>
<td>
<div align='center'><html:link page="/questionDel.do" paramId="id" paramName="e" paramProperty="id">删除</html:link></div>
</td>
<td>
<div align='center'><html:link page="/questionPreUpdate.do" paramId="id" paramName="e" paramProperty="id">更新</html:link></div>
</td>
</tr>
<tr>
</tr>
</logic:iterate>
<tr bgcolor="#FFFFFF">
<td height="30" colspan="4">
<div align="center">
</div></td>
</tr>
</html:form>
</TABLE>
</html:html>
发生了如下错误:
javax.servlet.ServletException: Cannot retrieve definition for form bean null
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
org.apache.jsp.WEB_002dINF.admin.question_005flist_jsp._jspService(question_005flist_jsp.java:256)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
请帮我一下,谢谢! |
|