분류 전체보기 (344) 썸네일형 리스트형 단입력받아서 구구단 출력-prompt,isNaN @숫자유무검사 문자형에서 정수형으로 자료형 변환(parseInt) 파라미터입력값 출력 String s=request.getParameter("t");if(s==null)s="aaa";%>> id,pw같으면 로그인성공,다르면 실패뜨기 aa.jsp ============================== ID PW bb.jsp ================================ jsp 값전달 a.jsp ===================== b.jsp ================== java.util.regex.PatternSyntaxException replaceAll()에.... 1.[]씌워야 할 것들 * ⇒ [*] + ⇒ [+] $ ⇒ [$] | ⇒ [|] 2. \\를 붙여줘야 하는 것들. ( ⇒ \\( ) ⇒ \\) { ⇒ \\{ } ⇒ \\} ^ ⇒ \\^ [ ⇒ \\[ ] ⇒ \\] 3. 자바의 특수문자는 \을 쓴다. " ⇒ \" 4. 나머지 부호들은 괜찮은 듯 하다. 확인된 것. ! # % & @ ` : ; - . , ~ ' 파일전송 public class filesend { public static void main(String[] args) throws Exception { ServerSocket ss = new ServerSocket(7777); Socket s = ss.accept(); DataOutputStream dos = new DataOutputStream(s.getOutputStream()); FileInputStream fis = new FileInputStream( "D:/소오름.png"); byte[] buffer=new byte[8*1024]; System.out.println("전송시작"); while(true){ int len=fis.read(buffer, 0, 8*1024); if(len==-1){ Sys.. innerHTML 이전 1 ··· 32 33 34 35 36 37 38 ··· 43 다음