본문 바로가기

분류 전체보기257

websphere portal 로그인 페이지 & 로그실패시 화면 처리하기. websphere portal 로그인 페이지 & 로그실패시 화면 처리하기. 1.//ear 내보내기./wsadmin.sh -user "관리자 id" -password "관리자패스워드" -c '$AdminApp export wps [내보낼 경로]/wps.ear' 2.//ear 압축해제./EARExpander.sh -ear [압축해제할파일경로]/wps.ear -operationDir [압축해제할경로]/wps_expanded -operation expand 3.변경하기 파일 : web.xml. web_merged.xml위치 : [압축풀고난후 위치] /wps.war/WEB-INF변경할 소스 : /redirect/error.html변경 : /redirect -> /logon.jsp /error.html -> /er.. 2015. 3. 16.
wps.ear 삭제시 복구방법 wps.ear 삭제시 복구방법 준비 작업 서버가 이중화 되어 있을경우. 1. 아래 경로의 모든 디렉토리와 파일을 다운로드 한다. applications : [websphere설치경로]/wp_profile/config/cells/cellName/applications/wps.earsource : [websphere설치경로]/wp_profile/installedApps/cellName/wps.ear 작업시작 1. wp_profile에 복사 작업 사항 applications -> 복사 위치 : [websphere설치경로]/wp_profile/config/cells/dmgrCell01/applications 업로드 : wps.ear source -> 복사 위치 : [websphere설치경로]/wp_profile.. 2015. 3. 16.
엑셀 숫자 금액을 문자금액으로 바꾸는 방법 아래 금액을 $58,395.49-> 오만팔천삼백구십오불사십구전정 변경.숫자 부분의 셀이 G9적용 방법 : 문자로 변경할 셀의 아래의 수식에서 노란색의 G9를 숫자셀의 값으로 변경해서 넣으면 적용됨=NUMBERSTRING(LEFT(G9,VALUE(IF(IFERROR(SEARCH(".",TEXT(G9,"@")),0) > 0, SEARCH(".",TEXT(G9,"@")),LEN(G9)))),1)&"불"&IF(IFERROR(SEARCH(".",TEXT(G9,"@")),0) > 0,NUMBERSTRING(RIGHT(G9,VALUE(IF(IFERROR(SEARCH(".",TEXT(G9,"@")),0) > 0, LEN(G9)-SEARCH(".",TEXT(G9,"@")),0))),1)&"전정","") 2015. 3. 16.
portal 로그인 페이지 설정 변경할 로그인 페이지 설정. 1.path : [portal설치위치]/wp_profile/config/cells/[cell]/applications/wps.ear/deployments/wps/wps.war/WEB-INF2. path : [portal설취위치]/wp_profile/installedApps/[cell]/wps.ear/wps.war/WEB-INFfile : web.xml, web_merged.xml1.2번위치의 web.xml, web_merged.xml 파일 안의 태그의 내용을 /redirect ---> 변경할 url로 변경 # 변경 url은 /wps/밑의 url이여야함. 변경후--web.xml/logon.jsp/error.html --web_merged.xml /logon.jsp /error... 2015. 2. 12.
java 문자열 원하는 만큼 자르기 java 문자열 원하는 만큼 자르기 String.format("%1.16s", "2012-06-10 10:02:47") 앞에서 부터 16 자리 자르기 2015. 1. 23.
websphere portal user session정보 가져오기 websphere portal user session정보 가져오기/wps/ 밑에 jsp에서 사용자 정보 꺼내기 User currentUser =(User)session.getAttribute("com.ibm.wps.util.session_user"); portal portlet 에서 사용자 정보 가져오기. request -> PortletRequestrequest.getAttribute("com.ibm.portal.puma.request-user"); theme에서 꺼내는 방법. ((User)request.getAttribute("com.ibm.portal.puma.request-user")); el tag에서 가져오는 방법${wp.user.username} 2015. 1. 13.