1. Usage Format : content=[time];URL=[redirect URL] <html> <head> <meta http-equiv=”refresh” content=”0;URL=’http://www.example.com'” /> </head> </html>
Author: manager
BPMN vs UML
Approach focus (view) BPMN Business Process Modeling Notations process-oriented business processes UML Unified Modelling Language object-oriented software design
Install WebGoat 7.1 on eclipse (Windows 10)
1. What is WebGoat? WebGoat is a deliberately insecure web application maintained by OWASP designed to teach web application security lessons. Official Site : https://www.owasp.org/index.php/Category:OWASP_WebGoat_Project 2. Install WebGoat 2.1. Install JDK SE 7 and 8 JDK SE 7 : http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html JDK SE 8 : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Why Install both version? -> The ‘spring-web-3.2.4.RELEASE.jar’ included in […]
HP server LED Indicators
https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c03245333
RAM
1. Manufacturer ADATA Apacer Asus Axiom Buffalo Technology Chaintech Corsair Memory Crucial Dataram Fujitsu G.Skill GeIL HP HyperX IBM Infineon Kingston Technology Lenovo Micron Technology Mushkin Nanya PNY Rambus Ramtron International Rendition Renesas Technology Samsung Semiconductor Sandisk SK Hynix Sony Strontium Technology Super Talent Toshiba Transcend Wilk Elektronik 2. Standard 규격 […]
Calendar – Gregorian
1. 그레고리력 달력 1752년 9월 그레고리력 채택으로 인해 11일이 삭제됨. 2. cal man page on Linux Assume the switch from Julian to Gregorian Calendar at the date associ‐ ated with the country_code. If not specified, ncal tries to guess the switch date from the local environment or falls back to September 2, 1752. This […]
fgets
1. Why to use fget? gets has Buffer overflow vulnerability. Therefore we must use fgets 2. How to Use? char buf[100] = {0}; char *p; printf(“input : “); fgets(buf, sizeof(buf)-1, stdin); // char 배열, SIZE, 입력 if((p = strchr(buf, ‘\n’)) != NULL) *p = ‘\0’; printf(“output : %s\n”,buf);
String 함수
1. Include Header file #include<string.h> 2. Function 2.1. 문자열 복사 char *strncpy(char *dest, const char *src, size_t n); strcpy 함수 보완한 함수 char *strcpy(char *dest, const char *src); 2.2. 문자열 연결 char* strcat(char *dest, const char *src); char* strncat(char *dest, const char *src, size_t n); 2.3. 문자열 비교 int strcmp(const char *s1, const char […]
Mapping Servlet
Plan 1. Modify web.xml <servlet-name> ; Can set any name <servlet-class> ; servlet path <url-pattern> ; url path <?xml version=”1.0″ encoding=”UTF-8″?> <web-app xmlns=”http://xmlns.jcp.org/xml/ns/javaee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd” version=”4.0″> <servlet> <servlet-name>HelloServlet</servlet-name> <servlet-class>com.waterhouse.sample.HelloServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>HelloServlet</servlet-name> <url-pattern>/testPath</url-pattern> </servlet-mapping> </web-app> Plan 2. Write in Servlet(java file) @WebServlet(name = “HelloServlet”, urlPatterns = {“/testPath”, “path2”}) name ; Servlet name urlPattenrs […]
How to make Servlet on IntelliJ
1. How to make Servlet? 1.1. Make Project on IntelliJ “Java Enterprise” – “Wep Application” – Next – Done 1.2. Make package Project – src – Right Click – New – Package 1.3. Make Servlet Project – src – ‘package(you make 1.2.)’ – Right Click – Servlet Set Name – ‘OK’ 1.4. Set urlPatterns The […]