본문 바로가기

개발6

[HttpServletRequest] request 출력 // 요청 파라미터 출력System.out.println("Request Parameters:");Map parameterMap = request.getParameterMap();for (Map.Entry entry : parameterMap.entrySet()) { System.out.println("Key: " + entry.getKey() + ", Value: " + String.join(", ", entry.getValue()));} 콘솔결과 : 2024. 7. 25.
[php] db 에서 조회한 날짜중 가장 최근날짜 selected >2024 >2025 >2026 >2027 "> 2024. 7. 22.
[java] xml 생성 public String signInsertToXml(@ModelAttribute("searchVO") UserVO vo,Model model, HttpServletRequest request) throws Exception { logger.info("CALL /signInsertToXml.do"); //xml생성 String base64Code = ""; // 현재 시간 String currentTime = DateUtil.getCurrentDateTime(); String signKeyNm=""; String xmlNm = "_sign_".concat(currentTime); //XML 파일 경로 String SRC = ""; //firstPdf + 이미지 합쳐진 최종 pdf파일 .. 2024. 6. 19.
[java] pdf 생성 public String signInsert(@ModelAttribute("searchVO") UserVO vo,Model model, HttpServletRequest request) throws Exception { logger.info("CALL /signInsert.do"); //pdf생성 String base64Code = ""; // 현재 시간 String currentTime = DateUtil.getCurrentDateTime(); String signKeyNm=""; String pdfNm = "_sign_".concat(currentTime); //이미지없이 데이터만 넣은 pdf파일 String SRC = ""; //firstPdf + 이미지 합쳐진 최종 pdf파일 .. 2024. 6. 19.
[java] xsl+xml 을 pdf파일로 변환하기 @RequestMapping(value = "/sign/convertToPDF.do") public void convertToPDF() throws IOException, FOPException, TransformerException, SAXException { // the XSL FO file File xsltFile = new File("src/main/resources/static/homepage/xml/employeesfo.xsl"); // the XML file which provides the input StreamSource xmlSource = new StreamSource(new File("src/main/resources/static/homepage/xml/_sign_20240.. 2024. 6. 19.
[Swiper] 라이브러리 포커스이동 swiper 라이브러리를 사용해서 팝업이미지들이 자동으로 재생되고 있음 키보드 tab을 눌렀을때 a링크에 포커스가 잡히면 해당 이미지가 화면에 나오도록 라이브러리와 스크립트 이용하기 . var timer = 4000; //4000 var mainSwiper = new Swiper( "#popupList", { slidesPerView: 1, autoplay: { delay: timer, disableOnInteraction: true, }, loop: true, allowTouchMove : true, effect: 'fade', fadeEffect: { crossFade: true, }, pagination: { el: ".swiper-pagination", loop: true, clickable: t.. 2023. 11. 17.
728x90