1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.web.struts.action;
17
18 import org.apache.struts.action.Action;
19 import org.apache.struts.action.ActionForm;
20 import org.apache.struts.action.ActionForward;
21 import org.apache.struts.action.ActionMapping;
22
23 import javax.servlet.http.HttpServletRequest;
24 import javax.servlet.http.HttpServletResponse;
25
26
27
28
29
30
31
32 @Deprecated
33 public class ForwardWithQueryParametersAction extends Action {
34
35 public ActionForward execute(
36 ActionMapping mapping,
37 ActionForm form,
38 HttpServletRequest request,
39 HttpServletResponse response)
40 throws Exception {
41
42 String path = mapping.getParameter();
43 if (request.getQueryString() != null) {
44 path = path + "?" + request.getQueryString();
45 }
46 ActionForward retVal = new ActionForward(path);
47 retVal.setModule("");
48
49 return retVal;
50 }
51
52 }