汽车租赁管理系统/反编译出来的文件/carRentalSystem/com/bluedot/web/operatormanagerservlet/UpdateCheckTable.java

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   UpdateCheckTable.java

package com.bluedot.web.operatormanagerservlet;

import com.bluedot.domain.CheckTable;
import com.bluedot.exception.ApplicationException;
import com.bluedot.exception.DataAccessException;
import com.bluedot.service.OperatorManager;
import com.bluedot.service.impl.OperatorManagerImpl;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.*;

public class UpdateCheckTable extends HttpServlet
{

	public UpdateCheckTable()
	{
	}

	public void doGet(HttpServletRequest request, HttpServletResponse response)
		throws ServletException, IOException
	{
		doPost(request, response);
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
		throws ServletException, IOException
	{
		try
		{
			CheckTable ct = createCheckTable(request);
			OperatorManager om = new OperatorManagerImpl();
			om.updateCheckTable(ct);
			response.sendRedirect("ok.jsp");
		}
		catch (NumberFormatException e)
		{
			request.setAttribute("msg", e.getMessage());
			request.getRequestDispatcher("operatorManager/updateCheckTable.jsp").forward(request, response);
			e.printStackTrace();
		}
		catch (DataAccessException e)
		{
			request.setAttribute("msg", e.getMessage());
			request.getRequestDispatcher("error.jsp").forward(request, response);
			e.printStackTrace();
		}
		catch (ApplicationException e)
		{
			response.sendRedirect("appError.jsp");
			e.printStackTrace();
		}
		catch (Exception e)
		{
			response.sendRedirect("appError.jsp");
后面还有 19 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。