티스토리 툴바
Daum
Tistory
로그인
Admin
:
New post
분류 전체..
(48)
STUDY
(1)
Oracle Study
(0)
JSP Study
(1)
JAVA Study
(0)
Mobile
(3)
Mobile Phone
(1)
Notebook
(0)
PDA
(1)
UMPC
(0)
PMP
(1)
My Life
(37)
Friends
(0)
Family
(0)
Game
(0)
Travel
(36)
Etc
(0)
Food
(1)
소중한 기록
(0)
Project
(0)
Blog Project
(0)
미디어로그
Struts 를 배..
(1)
산출물
(1)
2009년 7월 30..
최종수정
소계부 이상현상
java
MT
강촌
음식
가평
속초여행
로젠리타
아침고요수목원
LISTEN
양파
[비밀댓글]
[비밀댓글]
좋은게시글 담..
글재주가 없어..
버드나무 진짜..
[Look Down th..
└>바람나무, 생..
«
2012/05
»
일
월
화
수
목
금
토
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
2009/10
2009/07
2009/03
2008/11
2008/10
+ Total : 3,916
+ Today : 0
+ Yesterday : 1
티스토리 가입하기!
Struts 를 배워보자
+
[STUDY/JSP Study]
| 2009/10/12 15:53
1. http://struts.apache.org/downloads.html
Struts 1.3.10
다운로드
2. 압축해제후 web.xml에서 다음부분 복사
3. eclipse 프로젝트에 web.xml에 다음부분 추가
web.xml 설정
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
4 .eclipse src폴더에 common 패키지 추가 후 struts 폴더의
MessageResources.properties 파일 복사
하여 넣기
5. struts-config.xml, validation.xml 파일을 webContent 에 추가 page폴더와 index.jsp도 추가
6.struts-config.xml 파일에서 다음부분을 아래처럼 수정
<message-resources parameter="common.MessageResources" />
7.서버에서 추가한 struts 프로젝트 추가
java
,
struts
0
1
이 글의 관련글(트랙백) 주소 ::
http://kirara.tistory.com/trackback/77
2009/12/22 11:03
비밀댓글입니다
아이디
비밀번호
홈페이지
비밀글
<<이전
|
1
|
2
|
3
|
4
|
5
...
|
48
|
다음>>
키라라
's Blog is powered by
Daum