求一份JSP+javaBean做的BBS 只要bean 的代码和jsp代码即可
在线QQ344702443求高手指点</div><formaction=""method="post"><divalign="center"></div><jsp:use...
在线QQ344702443 求高手指点
</div><form action=" " method="post"><div align="center">
</div>
<jsp:useBean id="replyBean" class="com.yzq.reply.replyBean" />
<jsp:setProperty name="replyBean" property="id" value="<%=request.getParameter("id")%>" />
<jsp:setProperty
name="replyBean"
property="username"
value='request.getParameter("username")%' />
<jsp:setProperty
name="replyBean"
property="content"
value='<%=request.getParameter("content")%>' />
<table>
<tr align="center">
<td>ID:</td><td><input type="text" name="id"></td>
</tr>
<tr align="center">
<td>姓名:</td><td><input type="text" name="username"></td>
</tr>
<tr align="center">
<td>内容:</td><td><input type="text" name="content"></td>
</tr>
<tr>
<td align="center"> <input type="submit" value="提交"></td>
</tr>
</table>
</form>
</body>
</html> 展开
</div><form action=" " method="post"><div align="center">
</div>
<jsp:useBean id="replyBean" class="com.yzq.reply.replyBean" />
<jsp:setProperty name="replyBean" property="id" value="<%=request.getParameter("id")%>" />
<jsp:setProperty
name="replyBean"
property="username"
value='request.getParameter("username")%' />
<jsp:setProperty
name="replyBean"
property="content"
value='<%=request.getParameter("content")%>' />
<table>
<tr align="center">
<td>ID:</td><td><input type="text" name="id"></td>
</tr>
<tr align="center">
<td>姓名:</td><td><input type="text" name="username"></td>
</tr>
<tr align="center">
<td>内容:</td><td><input type="text" name="content"></td>
</tr>
<tr>
<td align="center"> <input type="submit" value="提交"></td>
</tr>
</table>
</form>
</body>
</html> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询