struts로 검색한 결과 :: 시소커뮤니티[SSISO Community]
 
SSISO 카페 SSISO Source SSISO 구직 SSISO 쇼핑몰 SSISO 맛집
추천검색어 : JUnit   Log4j   ajax   spring   struts   struts-config.xml   Synchronized   책정보   Ajax 마스터하기   우측부분

회원가입 I 비밀번호 찾기


SSISO Community검색
SSISO Community메뉴
[카페목록보기]
[블로그등록하기]  
[블로그리스트]  
SSISO Community카페
블로그 카테고리
정치 경제
문화 칼럼
비디오게임 스포츠
핫이슈 TV
포토 온라인게임
PC게임 에뮬게임
라이프 사람들
유머 만화애니
방송 1
1 1
1 1
1 1
1 1
1

struts로 검색한 결과
등록일:2008-03-16 10:07:06
작성자:
제목:Taglib을 쓰는 이유를 물으신다면 <html:link>편


Taglib을 왜 쓰냐고 물어보면

이것저것 이론적인 이야기를 해도

개발자들은 금방 공감하지 못한다.

이럴 때 이 내용이 제법 설득력이 있을 것 같다.

 

대략 일반적인 링크를

taglib을 쓰면 이렇게 된다.

 

 

<html:link action="/Logon">

 

 

이걸 왜 쓰냐고 물어본다면

이 것이 정답...

 

------------------------------------------------------------------------


The html:link tag does double duty.

 

First, you can refer to an action or forward stored in the struts configuration, and the tag will insert the corresponding path when the page is rendered.

This makes it easy to "rewire" an application without touching all the pages.

 

Second, the link tag will "URL encode" the hyperlink to maintain the client session.

Your application can maintain client state without requiring cookies.

 

Tip:

Cookies - If you turn cookies off in your browser, and then reload your browser and this page, you will see the links with the Java session id information attached. (If you are using Internet Explorer and try this, be sure you reset cookies for the appropriate security zone, and that you disallow "per-session" cookies.)

------------------------------------------------------------------------

 

 

 

문자 깨지는 것을 막는 url encoding 도 해주랴

context, module 다 인식해서 path를 써줘서

web app를 portable 하게 해주랴

cookie 막은 사용자를 위해 url rewrite 까지 해주랴

 

taglib 안쓰면 저 짓을 개발자들이 다 해야된다.

아.. 생각만해도 ㅜㅜ