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