본문 바로가기 메뉴 바로가기

나는 초보다

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

나는 초보다

검색하기 폼
  • 분류 전체보기 (171)
    • 사이트 소개 (5)
    • 여행 (2)
    • 잡담 (8)
    • 생활정보 (7)
      • 제품소개 (0)
    • OS (8)
      • Linux (2)
      • Mac (4)
      • Windows (2)
    • 프로그래밍 (136)
      • Python (15)
      • Java (9)
      • JSP (14)
      • Spring (4)
      • Database (16)
      • Front (HTML, CSS, JS) (40)
      • IDE (1)
      • iBatis, MyBatis (3)
      • Android (19)
      • Struts (14)
  • 방명록

struts (6)
[Struts2] 접두어(Method, Action, Redirect, RedirectAction)

[struts.xml] /prefix_test.jsp /prefix_test.jsp /prefix_test.jsp /prefix_test.jsp [prefix_test.jsp] 결과 : [PrefixAction.java] package Action; public class PrefixAction { String result; public String execute() { result = "s:form에 지정된 prefix액션 실행"; return "success"; } public String anotherMethod() { result = "s:form에 지정된 prefix액션의 메소드 지정 실행"; return "another_method"; } public String getResult() { re..

프로그래밍/Struts 2011. 7. 26. 10:48
[Struts2] Form action defaulting to 'action' attribute's literal value 경고 해결법

20XX. XX. XX 오후 XX:XX:XX com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn 경고: No configuration found for the specified action: 'xxxx.action' in namespace: '/'. Form action defaulting to 'action' attribute's literal value. 아래 코드처럼 실행시키면 이런 경고 메세지가 뜬다 ......내용 생략...... 이럴때는 이렇게 수정해주면 된다 ===> action="write"

프로그래밍/Struts 2011. 7. 21. 16:24
[Struts2] 자바 코드로 HTML 작성해서 결과 반환

// 한 페이지에 10개씩 글이 보여지고 열 페이지가 넘어가면 // 10페이지씩 이동할 수 있도록 [이전], [다음] 버튼 활성화 stringBuffer = new StringBuffer(); if(startPage < pageSize) { stringBuffer.append(""); } else { stringBuffer.append(""); } stringBuffer.append("|"); for(int i = startPage; i

프로그래밍/Struts 2011. 7. 18. 09:53
[Struts2] JSP에서의 Struts 문법 사용 기본

먼저 taglib 디렉티브를 사용해 준다 prefix는 반드시 "s"를 사용해야 하는 것은 아니지만 일반적으로 struts는 s, jstl은 c를 사용한다 ㅇ 조건문 - 실행내용 ㅇ 반복문 - 실행내용 ㅇ 출력 - ㅇ 저장 - ㅇ 링크 - ==> struts.xml에서 지정한 확장자는 자동으로 붙음 - 링크가 걸릴 대상 ㆍ이 방식은 이 미리 정의되어 있어야 한다 ㆍ사용 예) 게시물 제목

프로그래밍/Struts 2011. 7. 14. 20:53
[Struts2] web.xml 기본 설정

외울 자신은 없고 잘 적어놨다가 계속 써먹어야지 Struts_BBS index.html index.htm index.jsp default.html default.htm default.jsp MyStruts org.apache.struts2.dispatcher.FilterDispatcher MyStruts /*

프로그래밍/Struts 2011. 7. 14. 14:09
[Struts2] struts.xml 기본 설정

struts.xml 의 위치 : 프로젝트/src /list.jsp /login.jsp /reply_success.jsp /reply_fail.jsp /result.jsp /list_second.jsp

프로그래밍/Struts 2011. 7. 14. 14:05
이전 1 다음
이전 다음
TAG
  • 동양인
  • 기본
  • 주피터 노트북
  • 여성가족부
  • window
  • 스프링
  • JSP
  • 파이썬
  • 안드로이드
  • JavaScript
  • 코멧
  • 랜덤
  • 자바스크립트
  • 특수문자
  • EL
  • ibatis
  • mvc
  • MacOS
  • 시각 차이
  • jstl
  • 테이블
  • Android
  • 구매 가이드
  • 스트럿츠
  • 데이터베이스
  • 페이지 이동
  • 함수
  • 오류
  • struts
  • 서양인
more
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
글 보관함
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바