?? myactionservlet.java~2~
字號:
package strutsdemo;
import org.apache.struts.action.ActionServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import javax.servlet.ServletException;
public class myActionServlet extends ActionServlet {
public myActionServlet() {
}
/**
* process
*
* @param request HttpServletRequest
* @param response HttpServletResponse
* @throws IOException
* @throws ServletException
* @todo Implement this org.apache.struts.action.ActionServlet method
*/
protected void process(HttpServletRequest request,
HttpServletResponse response) throws IOException,
ServletException {
request.setCharacterEncoding ("GB2312") ;
super.process (request, response) ;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -