Merge branch 'tolag3'
This commit is contained in:
commit
73d202fc14
@ -396,6 +396,38 @@ public class BaseController {
|
|||||||
return "/ClipReport4/ClipReportViewer";
|
return "/ClipReport4/ClipReportViewer";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping(value = "/clip/{pageFolder}/{pageName}/ClipReport4PdfDown.do")
|
||||||
|
public String ClipReport4PdfDown(HttpServletRequest request,
|
||||||
|
HttpSession session, Map<String, Object> map,
|
||||||
|
@PathVariable(value="pageFolder") String pageFolder,
|
||||||
|
@PathVariable(value="pageName") String pageName) throws Exception {
|
||||||
|
request.setCharacterEncoding("UTF-8");
|
||||||
|
|
||||||
|
String requstUrl = request.getServerName();
|
||||||
|
String parmes = "";
|
||||||
|
Enumeration<?> e = request.getParameterNames();
|
||||||
|
|
||||||
|
while (e.hasMoreElements()) {
|
||||||
|
|
||||||
|
String key = (String) e.nextElement();
|
||||||
|
String Values = request.getParameter(key);
|
||||||
|
|
||||||
|
if (key.startsWith("CLIPDATA_")) {
|
||||||
|
if(parmes.equals("")) {
|
||||||
|
parmes += key + "=" + Values;
|
||||||
|
} else {
|
||||||
|
parmes += "&" + key + "=" + Values;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
session.setAttribute("query_clip", URLEncoder.encode(parmes));
|
||||||
|
|
||||||
|
// String requestQuery = URLDecoder.decode(session.getAttribute("query_clip").toString());
|
||||||
|
|
||||||
|
// return "redirect:http://" + requstUrl + "/" + pageFolder + "/" + pageName + ".jsp?crfNm="+request.getParameter("crfNm")+"&" + URLEncoder.encode(parmes);
|
||||||
|
return "/ClipReport4/ClipReportViewer_pdf_down";
|
||||||
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/clip/ClipReport4/ClipReportViewer/ClipReport4_clip.do")
|
@RequestMapping(value = "/clip/ClipReport4/ClipReportViewer/ClipReport4_clip.do")
|
||||||
public String ClipReport4_clip(HttpServletRequest request,
|
public String ClipReport4_clip(HttpServletRequest request,
|
||||||
HttpSession session, Map<String, Object> map) throws Exception {
|
HttpSession session, Map<String, Object> map) throws Exception {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user