那个字符集每次都改好烦咯,能不能直接创建的时候就是utf-8呢?还有那些标签的问题,不懂得小伙伴可以先看下HTML,那个标签很全,看起来也挺快的。
2016-06-02
老师举的例子有点复杂难懂,我给个自己的例子。
可以先创建useBean.jsp 代码为:
<jsp:useBean id="myUsers" class="com.po.Users" scope="page" />
<jsp:setProperty name="myUsers" property="*" />
username:<%=myUsers.getUsername() %>
password:<%=myUsers.getPassword() %>
可以先创建useBean.jsp 代码为:
<jsp:useBean id="myUsers" class="com.po.Users" scope="page" />
<jsp:setProperty name="myUsers" property="*" />
username:<%=myUsers.getUsername() %>
password:<%=myUsers.getPassword() %>
2016-05-30
为什我我的都是404
HTTP Status 404 - /abc/index.jsp
type Status report
message /abc/index.jsp
description The requested resource is not available.
Apache Tomcat/7.0.69
HTTP Status 404 - /abc/index.jsp
type Status report
message /abc/index.jsp
description The requested resource is not available.
Apache Tomcat/7.0.69
2016-05-29