検索機能のサンプル public class ProductAction extends Action { @Override public String execute(HttpServletRequest request, HttpServletResponse response) throws Exception { HttpSession session = request.getSession(); String keyword = request.getParameter("keyword"); if(keyword == null) { keyword = "…