본문 바로가기
반응형

전체 글61

jstl & struts tag library 안내. jstl 이 1.0 에서 1.1 로 변경되면서 아래와 같이 uri 도 함께 변경되었다. [jstl 1.0] [jstl 1.1] http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html http://java.sun.com/products/jsp/jstl/1.1/docs/api/index.html Struts 는 1.3 부터는 tld 파일이 사라졌음. 아래와 같이 개별 파일에 uri 선언 후 사용. http://struts.apache.org/1.x/struts-taglib/tagreference.html 2008. 5. 15.
jstl & struts tag library 안내. jstl 이 1.0 에서 1.1 로 변경되면서 아래와 같이 uri 도 함께 변경되었다. [jstl 1.0] [jstl 1.1] http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html http://java.sun.com/products/jsp/jstl/1.1/docs/api/index.html Struts 는 1.3 부터는 tld 파일이 사라졌음. 아래와 같이 개별 파일에 uri 선언 후 사용. http://struts.apache.org/1.x/struts-taglib/tagreference.html 2008. 5. 15.
Struts 간단 정리 [Action Mapping - struts config] [Use Bean - jsp] 로그인 성공 로그인 사용자명 : 전화번호 : 이메일 : [Form Bean - struts config] [Action Message - jsp] Username : [Action Message - model] ActionMessages messages = new ActionMessages(); // 글로벌 메시지를 추가한다. // 이것은 에 의해 JSP에서 출력된다. messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage( "error.invalidLogin")); // request 객체에 메시지 추가 saveMessages(request, messages).. 2008. 5. 14.
Struts 간단 정리 [Action Mapping - struts config] [Use Bean - jsp] 로그인 성공 로그인 사용자명 : 전화번호 : 이메일 : [Form Bean - struts config] [Action Message - jsp] Username : [Action Message - model] ActionMessages messages = new ActionMessages(); // 글로벌 메시지를 추가한다. // 이것은 에 의해 JSP에서 출력된다. messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage( "error.invalidLogin")); // request 객체에 메시지 추가 saveMessages(request, messages).. 2008. 5. 14.