@@ -0,0 +1,1245 @@
+package servlets;%0A%0Aimport java.io.IOException;%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.annotation.WebServlet;%0Aimport javax.servlet.http.HttpServlet;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0A%0Aimport javax.servlet.RequestDispatcher;%0A%0Aimport dao.ListingDAO;%0Aimport dao.ListingDAOImpl;%0A%0Aimport entities.NewListing;%0A%0A/**%0A * Servlet implementation class EditListingServlet%0A */%0A@WebServlet(%22/htmlCssFiles/editListing%22)%0Apublic class EditListingServlet extends HttpServlet %7B%0A%09private static final long serialVersionUID = 1L;%0A       %0A%09protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException %7B%0A%09%09%0A%09%09RequestDispatcher disp = getServletContext().getRequestDispatcher(%22/htmlCssFiles/editListing.jsp%22);%0A%09%09%0A%09%09ListingDAO dao = new ListingDAOImpl(false);%0A%09%09%0A%09%09String listing_name = request.getParameter(%22edit_listing%22);%0A%09%09%0A%09%09NewListing listing = dao.takeListingInfo(listing_name);%0A%09%09request.setAttribute(%22listing_info%22, listing);%0A%09%09disp.forward(request, response);%0A%0A%09%09%0A%09%7D%0A%0A%09%0A%09%0A%09protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException %7B%0A%09%09doGet(request, response);%0A%09%7D%0A%0A%7D%0A

Create EditListingServlet.java