startlearningservlet.java
来自「java的一系列产品中包括jsme,jmse,j2ee,本文件提供j2ee实现的」· Java 代码 · 共 25 行
JAVA
25 行
public class StartLearningServlet extends BasicServlet {
public void doExecute(HttpServletRequest req,HttpServletResponse res)
throws ServletException, IOException{
res.setContentType(getContentType());
String cmd="";
PrintWriter out = res.getWriter();
cmd = req.getParameter("command");
if (cmd==null)
result1=stopLearning(userId,password,materialId);
else
result1=stopLearning(userId,password,materialId);
......//do other operation
}
String result1=stopLearning(userId,password,materialId);
private String startLearning(String materialId,String userId,
String password){
}
private String stopLearning(String materialId,String userId,
String password){
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?