1.按大兴的包结构建立com.learndiary.website包,把原文件到了进去。资源文件放在了该包下。
2。struts-config.xml中改为<message-resources parameter="com.learndiary.website.application"/>
3.把index.jsp另存为login.jsp。index.jsp中内容全部改动。
4。struts-config.xml中改为
<action path="/logoutAction" type="com.learndiary.website.action.account.LogoutAction">
<forward name="logout" path="/login.jsp" />
One thought on “登录方式的改动步骤!”
Comments are closed.
在src下建个resources文件夹,把资源文件剪切到里面。
struts-config.xml改为大兴的源文件内容:
<message-resources parameter="resources.application"/>
lanzy考1级阿!哎!俺这次考3级还悬着呢!
lanzy,Good luck!