OpenArticleAction.java
资源名称:JSPonline.rar [点击查看]
上传用户:bjjsss
上传日期:2018-06-10
资源大小:4236k
文件大小:2k
源码类别:
SilverLight
开发平台:
Java
- package cn.com.blogonline;
- import java.io.IOException;
- import java.util.ArrayList;
- import java.util.List;
- import javax.servlet.ServletConfig;
- import javax.servlet.ServletException;
- import javax.servlet.http.HttpServlet;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import javax.servlet.http.HttpSession;
- public class OpenArticleAction extends HttpServlet {
- public void init(ServletConfig config) throws ServletException {
- }
- /*
- * 澶勭悊<GET> 璇锋眰鏂规硶.
- */
- protected void doGet(HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- //璁剧疆鎺ユ敹淇℃伅鐨勫瓧绗﹂泦
- request.setCharacterEncoding("UTF-8");
- //鎺ユ敹娴忚