JAVA 썸네일형 리스트형 서블릿.웹서버.WAS ⊙ 애플릿(Applet) : 웹서버로부터 다운로드받아 클라이언트 브라우저의 JVM 에서 수행되는 작은 자바 응용 클래스 ⊙ 서블릿(Servlet) : 웹서버상에서 CGI요청을 처리하는 서버측 JVM 에서 수행되는 자바 응용 클래스. 서블릿을 실행하기 위해서는 JVM, Servlet API, Servlet Container, Web Server 가 필요하다. ⊙ Servlet Application : 웹 서비스를 위해 Java Servlet API 를 이용해 개발자가 만든 Java Class ⊙ 웹서버 : 또는 웹 어플리케이션 서버. 클라이언트/서버 모델과 웹의 HTTP를 사용하여 웹 페이지가 들어 있는 파일을 사용자들에게 제공하는 프로그램 - 아파치(Apache) -32비트 윈도우와 유닉스 기반 모두 사.. 더보기 에러종류 에러종류 100 : Continue 101 : Switching protocols 200 : OK, 에러없이 전송 성공 201 : Created, POST 명령 실행 및 성공 202 : Accepted, 서버가 클라이언트 명령을 받음 203 : Non-authoritative information, 서버가 클라이언트 요구 중 일부 만 전송 204 : No content, 클라언트 요구을 처리했으나 전송할 데이터가 없음 205 : Reset content 206 : Partial content 300 : Multiple choices, 최근에 옮겨진 데이터를 요청 301 : Moved permanently, 요구한 데이터를 변경된 임시 URL에서 찾았음 302 : Moved temporarily, 요구한 .. 더보기 Hashtable 키값 count 및 키값 sort try { String s; String[] real_str; Hashtable hMenu = new Hashtable(); BufferedReader in=null; String fileDate = Utils.addDays(Utils.getDateAsString(), -1, "yyyyMMdd"); in = new BufferedReader(new FileReader("C:/workspace/NEW_POCKET1/src/temp/service-"+fileDate+".log")); while((s =in.readLine()) !=null){ real_str=s.split(" :: "); if(hMenu.containsKey(real_str[0])){ //키가 있을경우 int value = (Integer).. 더보기 Vector를 사용한 IP 중복제거 try { String s; String[] real_str; Vector vVisitor = new Vector(); BufferedReader in=null; String fileDate = Utils.addDays(Utils.getDateAsString_(), -1, "yyyy-MM-dd"); in = new BufferedReader(new FileReader("C:/workspace/NEW_POCKET1/src/temp/access_log."+fileDate)); while((s = in.readLine()) != null) { real_str=s.split(" - - "); if(!vVisitor.contains(real_str[0])){ //중복 IP가 없을경우 vVisitor.add(rea.. 더보기 이전 1 2 다음