http://stackoverflow.com/questions/27566267/maven-how-to-fill-a-variable-in-web-xml-file I want it url ${targetUrl} local true local http://local.target.url solution (in pom.xml) org.apache.maven.plugins maven-war-plugin 2.6 true
http://stackoverflow.com/questions/3585034/how-to-map-a-composite-key-with-hibernate @ID 방식과 @Embeddable 방식이 있는데 후자의 방식으로 코딩했다.(이유는 @Id 방식으로 했을 때 에러가 나서?)TagBusy의 PK 정보를 TagBusyId가 가지고 있다(3가지 복합키) @Entity @Table(name = "tag_busy") public class TagBusy { @EmbeddedId private TagBusyId tagBusyId; //PK @Column(name = "reg_date", nullable = true, insertable = false, updatable = false) private Date re..
http://stove99.tistory.com/106 대충 요렇게 쓰면 됨 try { Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(url); XPath xpath = XPathFactory.newInstance().newXPath(); NodeList elements = (NodeList) xpath.evaluate("//rootElement/targetElement", document, XPathConstants.NODESET); if (elements == null) { return StringUtils.EMPTY; } else { return elements.item(0).getTextCont..
http://seongilman.tistory.com/27 #.properties -> .xml로 변경하는 작업을 진행하였다.#기존 는 삭제하고을 추가해서 value="#{prop['jdbc.driverClassName']}"와 같이 작성하였다. #controller에서는 다음과 같이 사용 @Value("#{prop['test']}") private String value;@Autowired private Properties prop; # view(jsp)에서도 taglib를 통해서 사용가능한데현재 프로젝트에서는 thymeleaf로 인해 사용불가능한 상태이다(-ㅅ-)... 사용가능하도록 설정을 변경하는 방법을 찾는 등 대안이 필요레퍼런스는 상단의 사이트로 가볼 것 #xml 설정은 다음과 같다. 설명 co..
- Total
- Today
- Yesterday
- 정보
- SQL
- db
- 잡담
- jsp
- 졸업작품
- 정렬
- CSS
- JQuery
- 자바
- 메모장
- 알고리즘
- 이론
- 게임
- 소켓
- 청주
- 파이썬
- 안드로이드
- SVN
- 프로젝트
- HTML
- 배열
- 데이터베이스
- 충북대
- 자바스크립트
- 클래스
- ERP
- 오라클
- 도전과제
- 아두이노
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |