Remark : 한페이지에서 Ajax 로 데이타 저장시 시간이 많이 걸릴 경우, 버튼이중 클릭시 중복저장됩니다. 버튼 disable 처리는 속성처리라 한번만 가능 ajax async: false 는 추천하지 않는 방식. 버튼에 vaule=”0″ 값 주어 처리
[글쓴이:] 관리자
JMX APIs
Remark : JMX Monitoring Java Management Extensions (JMX) is a technology that lets you implement management interfaces for Java applications. JConsole is a JMX-compliant monitoring tool, which comes with the Java Development Kit (JDK) 1.5 or later versions. Therefore, when you use a WSO2 product, JMX is enabled by default, which allows you to …
JMX APIs 더보기
Log4j
Remark : 프로그램의 로그를 기록해주는 라이브러리로 이클립스, IntelliJ IDEA, 안드로이드 스튜디오 드에 추가 해서 프로그램 실행시 자동으로 지정한 경로에 로그를 저장해 주는 기능 취약점 발견 : JNDI와 LDAP를 이용한 Log4J 취약점 이용 막기 : vi /etc/environment 추가
CentOS7 아파치(Apache2) 톰캣(Tomcat8) 연동
remark : WAS (톱켓) 8080 포트 대신 80 포트로 변환기하 위해 Tomcat Connectors 인 mod_jk를 세팅해 보자. 1. Download Site link : https://tomcat.apache.org/download-connectors.cgi 2. Download /tmp 3. tar 풀기 4. configure 명령어를 이용해서 make 파일 생성 4.1 Error solution 4.2 mod_jk.so file check 5. mod_jk.conf configuration 6. workers.properties configuration 7. Tomcat8 server.xml configuration add 8. …
CentOS7 아파치(Apache2) 톰캣(Tomcat8) 연동 더보기
사이트 Open SSL letsencrypt 세팅 오류
Overview 사이트 Open SSL letsencrypt 세팅 오류 원인 톱켓에서 포트가 다르기 때문에 letsencrypt 에러가 발생 한다.
[html] explore 에서 화면이 깨지는 경우
chrome 에서 이상 없으나 explore 에서 화면이 깨지는 경우 아래 meta 테그 추가 하면 됩니다.
그래도 깨지는 경우 맨위에 dtd 추가 하면 됩니다.
[java] Transformations sample
html 로 보기 persons.xml
persons.xsl
XsltTransformation.java
[jsp] The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path 1. 작성중 프로젝트 폴더에서 왼쪽 마우스 -> Properties 선택 2. Proejct Facets -> java -> Runtimes 의 Apache Tomcet v8.0 버전 체크 후 APPLY
[java] HttpURLConnection Get post 로 날려 값 받기
[jsp] 페이지 이동 방법
페이지 이동 방법 1. Forward – request 스코프에 담긴 값이 다음 페이지에 전달된다. – 이동된 페이지지 주소가 화면에 안보임(기존 페이지 주소와 같음)
2. Redirect – 클라이언트가 새로운 페이지를 요청한 것과 같이 페이지 이동 – 이동된 페이지지 주소가 화면에 보임(기존 페이지 주소와 다름)
참조 : https://installed.tistory.com/entry/8-JSP-%ED%8A%B9%EC%A0%95%ED%8E%98%EC%9D%B4%EC%A7%80%EB%A1%9C-%EC%9D%B4%EB%8F%99%EB%B0%A9%EB%B2%95