登录方式的改动步骤!

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" />