Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/acs/damsel/client/search/SearchLinkAction.java


1   package org.acs.damsel.client.search;
2   
3   import org.apache.struts.action.*;
4   import javax.servlet.http.*;
5   
6   public class SearchLinkAction extends Action {
7     public ActionForward execute(ActionMapping actionMapping,
8                                  ActionForm actionForm,
9                                  HttpServletRequest httpServletRequest,
10                                 HttpServletResponse httpServletResponse) {
11      httpServletRequest.getSession().setAttribute("searchType", "search");
12      return actionMapping.findForward("success");
13    }
14  }