본문 바로가기

전체보기161

div 내에 iframe width 100% 가 작동하지 않음 - Mobile 모바일의 경우 div 의 width 에 따라서 iframe 사이즈가 처리 되지 않는다.이경우 로딩시에 iframe src parameter로 해당 사이즈를 넘겨서 처리하는 방식을 채택했다. 추후 다른 좋은 방법이 있을까 ? 2018. 9. 28.
requestParam에 decoding 되는 현상 원인 spring 의 org.springframework.web.filter.CharacterEncodingFilter 기능으로 인해서 euckr의 스트링이 utf-8 로 디코딩 되는 현상으로 복원이 불가능 하므로, 해당 기능을 사용하지 않도록 처리 해야 합니다. 1. web.xml encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding utf-8 encodingFilter *.do *.do => request 는 utf-8 로 처리하도록 되어 있습니다. 그래서 해당 확장자 명을 html로 변경합니다.하단에 appServlet *.html html 확장자를 처리하도록 선언합니다. 2. Controller 처리 Raw =.. 2018. 9. 20.
PHP curl enable 시키기 windows Step1: Uncomment the php_curl.dll from php.ini Step2: Copy the following three files from php installed directory.i.e "C:\\php7". libeay32.dll,libssh2.dll,ssleay32.dll Step3: Paste the files under two place httpd.conf's ServerRoot directive. i.e "C\Apache24"apache bin directory. i.e "C\Apache24\bin" Step4: Restart apache. $c = curl_init($pageUrl); curl_setopt($c, CURLOPT_RETURNTRANSFER, true); i.. 2018. 9. 14.
환경변수 선언하기 - Spring 1. PropertyPlaceholderConfigurer 사용 가. servelet-context.xml /WEB-INF/spring/config/config.properties 나 . config.propertiesAPI = http://localhost 다. java class @Value("${API}") private String api; 2. util:property 사용가. context.xml상단 beans 에xsi:schemaLocation="http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.2.xsd"추가 해줄것. 나. config.perperties API .. 2018. 9. 12.
이미지를 가지고 있는 div 에서 하단 패딩이 발생하는 경우 #wrapper { border: 1px solid red; width:200px; } img { width:200px; } 이런 경우 하단에 패딩이 발생한다.내부의 image display:block 으로 처리 하면 해당 패딩이 사라진다. 아.. 삽질... ㅠㅠ 2018. 9. 11.
intall php and apache in windows Installing Apache 2.4 and PHP 7 for Development on WindowsPosted on septiembre 27, 2015 by Daniel Arancibia Bohle — 19 comentariosIn this post I’m going to explain how to install Apache and PHP without using the WAMP or XAMPP distributions, I’m using this approach because I think you can have more control over configurations, modules and services installed.Installing Apache 2.4.25To download Apa.. 2018. 9. 3.
SVG 화살표 라인 그리기 markerWidth="6" markerHeight="6" orient="auto-start-reverse"> 2018. 8. 31.
Node JS Debugging 설정 1. Run Configure 에서 "--inspect" 를 추가한다. 2. chrome 에서 "chrome://inspect/#devices" 를 url 창에 입력한다. 3. target 에서 해당 js inspect를 누르면 DevTools 가 수행되며 파일 시스템 쪽에서 해당 소스를 연결하면 끝. 2018. 8. 22.
kill port in window 1. 특정포트가 열려있는지 확인 - netstat -na | findstr "포트" 2. 열려 있는 포트의 PID 확인 - netstat -nao | findstr "포트" 3. PID 찾기 - tasklist | findstr "PID번호" 4. 프로세스 죽이기 - taskkill /f /pid "PID번호" 2018. 8. 22.
디렉토리 내에 파일 내용 변경 find * -type f -exec sed -i 's/"js\//"\/resources\/js\//g' {} \;find * -type f -exec sed -i 's/"css\//"\/resources\/css\//g' {} \;find * -type f -exec sed -i 's/"img\//"\/resources\/img\//g' {} \;find * -type f -exec sed -i 's/"\/resources\/js\//"\/resources\/js\/common\//g' {} \;/resources/js/ find * -type f -exec sed -i 's/"css\/style.css/"\/resources\/css_new\/style.css/g' {} \;find * -type f.. 2018. 8. 15.