-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Husen
committed
Dec 27, 2017
1 parent
df09fc6
commit 9162c7a
Showing
13 changed files
with
114 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 1 addition & 4 deletions
5
WebContent/module/error/error.jsp → WebContent/module/error/error.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
WebContent/personal_center/mycenter.jsp → WebContent/personal_center/usercenter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/pers/husen/web/servlet/module/usercenter/EditorArticleSvt.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package pers.husen.web.servlet.module.usercenter; | ||
|
||
import java.io.IOException; | ||
import javax.servlet.ServletException; | ||
import javax.servlet.annotation.WebServlet; | ||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
|
||
import pers.husen.web.common.constants.ResponseConstants; | ||
import pers.husen.web.common.helper.ReadH5Helper; | ||
|
||
/** | ||
* @desc 编辑文章 | ||
* | ||
* @author 何明胜 | ||
* | ||
* @created 2017年12月27日 下午3:56:11 | ||
*/ | ||
@WebServlet(urlPatterns = "/editor/article.hms") | ||
public class EditorArticleSvt extends HttpServlet { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public EditorArticleSvt() { | ||
super(); | ||
} | ||
|
||
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
response.setCharacterEncoding("UTF-8"); | ||
response.setContentType("text/html; charset=UTF-8"); | ||
|
||
ReadH5Helper.writeHtmlByName(ResponseConstants.EDITOR_ARTICLE_TEMPLATE_PATH, response); | ||
} | ||
|
||
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
doGet(request, response); | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/pers/husen/web/servlet/module/usercenter/PersonalCenterSvt.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package pers.husen.web.servlet.module.usercenter; | ||
|
||
import java.io.IOException; | ||
import javax.servlet.ServletException; | ||
import javax.servlet.annotation.WebServlet; | ||
import javax.servlet.http.HttpServlet; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
|
||
import pers.husen.web.common.constants.ResponseConstants; | ||
import pers.husen.web.common.helper.ReadH5Helper; | ||
|
||
/** | ||
* @desc 个人中心 | ||
* | ||
* @author 何明胜 | ||
* | ||
* @created 2017年12月27日 下午3:28:38 | ||
*/ | ||
@WebServlet(urlPatterns = "/usercenter.hms") | ||
public class PersonalCenterSvt extends HttpServlet { | ||
private static final long serialVersionUID = 1L; | ||
|
||
public PersonalCenterSvt() { | ||
super(); | ||
} | ||
|
||
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
response.setCharacterEncoding("UTF-8"); | ||
response.setContentType("text/html; charset=UTF-8"); | ||
|
||
ReadH5Helper.writeHtmlByName(ResponseConstants.USER_CENTER_TEMPLATE_PATH, response); | ||
} | ||
|
||
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | ||
doGet(request, response); | ||
} | ||
} |