package org.
actions;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.*;
import org.helper.*;
import java.util.*;
public class PreUpdateWarehouse extends Action
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception
int whid=Integer.parseInt(request.getParameter("UserID").toString());
Helper hp=new Helper();
List mainlist=(List)hp.preUpdateWarehouse(whid);
request.setAttribute("mainlist",mainlist);
return mapping.findForward("preupdatewarehouse");