📄 startlearningservlet.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -