keytool.exe -genkey -alias juheon -keyalg RSA -keypass 1234qwer -storepass 1234qwer -keystore juheon.jks keytool.exe -export -alias juheon -storepass 1234qwer -file juheon.cer -keystore juheon.jks keytool.exe -importkeystore -srckeystore juheon.jks -destkeystore juheon.key.p12 -deststoretype PKCS12 D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert D:\Java\32bit\jdk1.5.0_22\bin\keytool.exe -import -alias tsasample -keystore D:\Java\32bit\jdk1.5.0_22\jre\lib\security\cacert -file D:\workspace\Servers\tsa-server-web-config\tomcat.cer keytool -import -alias somansa -keystore C:\Program Files\Java\jdk1.8.0_102\jre\lib\security\cacert -file c:\somansa.cer #인증서 생성 keytool -genkey -alias keyAlias -keyalg RSA -keypass changeit -storepass changeit –validity 9999 -keystore keystore.jks keytool -export -alias keyAlias -storepass changeit -file server.cer -keystore keystore.jks keytool -import -v -trustcacerts -alias keyAlias -file server.cer ...
member와 user는 SqlMapConfig.xml에서 alias로 지정 <![CDATA[ select a.seq as id, a.name as name, a.user_id as user_id, b.password as password, from member a, user b where a.user_id=b.user_id ]]> Member class에서 user를 가져올수 있도록 setUser, getUser 메소드 추가 <![CDATA[ select a.MBR_ID, a.lec_num, a.lec_name from study a where a.MBR_ID = #id# ]]> getMemberList 를 실행하면서 각 회원의 getStudyList목록을 List형태로 리턴하게 됨. 검색조건에 추가할려면 column="{id=MBR_ID,seq=SEQ}" 형식으로 추가 출처: http://kamsi76.egloos.com/377954