html5 reference
video
https://msdn.microsoft.com/ko-kr/library/hh924823(v=vs.85).aspx
Spring3 properites call
Spring3 properites call
설정
<util:properties id="globals" location="classpath:/egrovframework/egovProps/globals.properties"/>
<!-- Messages .properties Path -->
<util:list id="configMessages" list-class="java.util.LinkedList">
<value>egovframework.message.com.message-common</value>
<!--
<value>egovframework.message.com.validation</value> <value>egovframework.message.com.javascript</value>
-->
</util:list>
호출 - xml
<property name="maxUploadSize">
<value>#{globals['File.maxUploadSize']}</value>
</property>
호출 - java
@Value("#{globals['Server.charset']}")
private String charset;
@Value("#{prop['global.arrs'].split(',')}") private String arr; // split 처리
// Bean 으로 생성되었으므로, Autowired 가능
@Autowired Properties globals;
호출 - jsp
<spring:eval expression="@config['']" />
'java > framework' 카테고리의 다른 글
jsp 에서 Spring framework 연동 (0) | 2013.07.19 |
---|---|
Spring Controller intercepter By 3.0 , annotation (0) | 2012.07.06 |
[ITSM] 리눅스 포트개방
cd /etc/sysconfig
vi iptables
또는
vi /etc/sysconfig/iptables
# 포트추가 - SVN 3690 (svn://)
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j DROP
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 1055 -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 3690 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT
# 재실행
/etc/init.d/iptables restart
# 직접실행
[root@test ~]# iptables -I INPUT 1 -p tcp --dport 8080 -j ACCEPT [root@test ~]# service iptables save iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
'itsm' 카테고리의 다른 글
[CI] 젠킨스 및 mavn 설치 (0) | 2016.03.31 |
---|---|
[ITSM] linux 점검, 서버정보 확인, 간단한 작업 (0) | 2015.12.23 |
[ITSM] UNIX 명령어 (검색,치환,압축,find,jar) (0) | 2012.12.06 |
[CI] SVN 백업 및 복원 (이관) (0) | 2012.11.30 |