新手,对jsp和struts都不熟,没办法,硬着头皮上的
解决方案 »
- Eclipse生成一个Web工程
- 请高人帮忙解决下JSP下的JS脚本问题
- 求问个位JAVA高手的学习经验
- js问题 ,各位帮看看,这段js为什么总提示说没有选中呢?
- JBuider在win2000Server配置?
- 怎样改变按钮的高度?急急急急急急
- 在servlet中怎么样控制框架中某一框的重定向?
- response headers是什么东东,小弟刚学html,见笑!
- 关于Hibernate临时态的问题
- 大神帮忙看一下,HTTP Status 500 - An exception occurred processing JSP page /user/order.
- 大家看看这段代码的6个错误怎么改?
- 请问怎样在JSP页面显示摄像头的图像?
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ 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 lang="true">
<head>
<title><bean:message key="hello.jsp.title"/></title>
<html:base/>
</head> <body bgcolor="red"><p>
<h2><bean:message key="hello.jsp.heading"/></h2><p>
<html:errors/><p> <logic:present name="personbean" scope="request">
<h2>
<bean:message key="hello.jsp.hello"/>
<bean:write name="personbean" property="userName"/>!<p>
</h2>
</logic:present> <html:form action="/HelloWorld.do" focus="userName">
<bean:message key="hello.jsp.prompt.peson"/>
<html:text property="uerName" size="16" maxlength="16"/><br>
<html:submit property="submit" value="Submit"/>
<html:reset/>
</html:form><br>
<html:img page="/struts-power.gif" alt="Powered by Struts"/>
</body>
</html:html>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<!-- tiles not used here
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<%@ taglib uri="/tags/struts-html.tld" prefix="html"%>
<%@ taglib uri="/tags/struts-logic.tld" prefix="logic"%>改成这样试试
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>