JavaParkNet (109) 썸네일형 리스트형 [Eclipse] loading web service dom ... 테스트환경 : EgovFrame 2.0 이클립스 사용시 loading web service dom 에서 행이 걸리는 경우가 발생하였다. 괜히 엄한 Plugin 만지웠다가 살렸다가를 반복하다가 다음과 같은 방법을 찾아 기록해 둔다. [Workspace]\.metadata\.plugins\org.eclipse.jst.j2ee.web\webLibrariesCache.index 파일을 삭제한다. 경우에 따라서는 관련 폴더를 지워도 좋다. Redirect를 Post 요청으로? 기본적으로 POST 로 요청이 들어온 것에 대해서 model 에 값들을 넣어 redirect: 하면 get방식으로 요청하고 파라메터들이 쭈루룩 붙어서 요청이 되는 것을 확인할 수 있는데 이때 불필요한 파라메터를 제거하는 방법이 바로 아래의 코드를 이용할 수 있다. RedirectView rv = new RedirectView("/view.do");rv.setExposeModelAttributes(false); 허나 이것이 아니라 POST 로 요청을 하고 싶은 경우에 RedirectAttributes , FlashMap 등을 이용하여 전달할 수 있다고 한다. 일단 이정도 적고 나중에 좀 더 길게 해보자. 참고 http://kst.codns.com/crooner/?p=43http://redtrain.tist.. 스프링(Spring) 에서의 리다이렉트(redirect:) 스프링에서 "redirect:" 를 사용했을때 기준은 현재 서블릿컨텍스트라고 한다. 이때 외부 페이지나 서블릿컨텍스트가 다른 경우에는 절대 URL 경로를 "redirect:" 이후에 지정해야 원하는 페이지로 이동하는 것을 확인할 수 있겠다. public static String getURLWithContextPath(HttpServletRequest request) { return request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath();} 참고)http://docs.spring.io/spring/docs/current/spring-framework-refere.. [Maven] 3rd party jar 를 인스톨하는 방법 공용 레파지토리에 존재하지 않는 경우에 다음의 명령어를 이용하여 로컬 레파지토리에 인스톨할 수 있습니다. mvn install:install-file -Dfile= -DgroupId= -DartifactId= -Dversion= -Dpackaging= 참고 : Guide to installing 3rd party JARs 국내 오픈소스 WYSIWYG HTML 에디터 * DaumEditorDaumEditor is an online open source WYSIWYG HTML editor from Daum Communications.link => https://github.com/daumcorp/DaumEditor/wiki * SmartEditorSmartEditor2.0 Basic 은 JavaScript로 구현된 웹 기반의 WYSIWYG 편집기이다. 글꼴, 글자 크기, 줄 간격 등을 자유롭게 설정할 수 있으며, 단어 찾기/바꾸기와 같은 편리한 기능을 제공한다.link => http://jindo.dev.naver.com/smarteditor/demo/SmartEditor2.html [jQuery] MouseWheel event 마우스에서 휠의 방향에 따른 제어 시 아래의 코드를 이용하자. (Javascript, HTML, Result) 새창으로 보기 [jQuery] form data binding 보호되어 있는 글입니다. JS Hint JSHint is a tool that helps to detect errors and potential problems in your JavaScript code. 참고 JS Hint : http://www.jshint.com/install/hint-eclipse : http://github.eclipsesource.com/jshint-eclipse/ 이전 1 ··· 5 6 7 8 9 10 11 ··· 14 다음