프로그램 사용/eclipse2014. 5. 18. 18:55
sublclipse와 subversive는 별반 차이가 없어 보이나..
내부적으로 많이 다른것 같은 느낌...?


일단 subversive는 subclipse에서 JavaHL을 통해 Native하게 C언어를 끌어와서 하는것 같고
그 기반으로 JavaHL(High Language) / JNA(Java Native Access)를 이용하는 것으로 생각된다.

음.. subclipse와 subversive의 외관상의 차이는...
subversive 에는 단축키가 할당되고
subclipse 에는 단축키가 없다는 것과

checkout 시에 미묘한 차이가 있다는 것 정도?

subclipse의 단축키가 없는 모습


subversive의 단축키 모습. 그리고 아이콘도 촘촘히 존재한다.


아무트 설치과정은
Subversive 설치 후


리부팅시에 맞는 버전에 따라 (귀찮으니 그냥 JavaHL 32bit/64bit로 하면 됨) 설치한다.


[링크 : http://subclipse.tigris.org/wiki/JavaHL] JavaHL
[링크 : http://en.wikipedia.org/wiki/Java_Native_Access] JNA
[링크 : http://www.eclipseonetips.com/.../eclipse-shortcuts-for-common-svn-commands/]  이클립스 단축키 설정
[링크 : http://www.eclipse.org/subversive/index.php] subvesive
[링크 : http://stackoverflow.com/questions/553133/subclipse-with-svnkit-adapter ] SVNKit Connector
Posted by 구차니
머.. 주었으니 감사히 ㅋㅋㅋ


'게임 > 오리진&스팀&유플레이' 카테고리의 다른 글

스팀 여름할인!  (0) 2014.06.28
식물 vs 좀비 끝(스샷 없음)  (0) 2014.05.25
MDK 할인!  (0) 2014.03.19
몰라 걍 질러  (0) 2014.03.10
간만에 지름!! 험블번들 X  (1) 2014.01.16
Posted by 구차니
CRUD는
Create(생성), Read(읽기), Update(갱신), Delete(삭제)

Insert / Select / Update / Delete로 대변되는
4개의 데이터베이스 관련 기본 오퍼레이션을 이야기한다.

[링크 :  http://ko.wikipedia.org/wiki/CRUD]

'Programming > 데이터베이스' 카테고리의 다른 글

데이터베이스 순환참조  (0) 2017.05.20
데이터베이스 1:n 관계 구현  (0) 2016.02.29
데이터베이스 - 키 관련  (0) 2014.04.28
카티젼 프로덕트, join  (0) 2014.04.26
database 1:N 구성?  (0) 2014.04.15
Posted by 구차니
오오.. 통합의 위력 ㄷㄷ
스트럿츠 2의 결과를 돌려주는 방식은 다음과 같다.

Chain Result Used for Action Chaining
Dispatcher Result Used for web resource integration, including JSP integration
FreeMarker Result Used for FreeMarker integration
HttpHeader Result Used to control special HTTP behaviors
Redirect Result Used to redirect to another URL (web resource)
Redirect Action Result Used to redirect to another action mapping
Stream Result Used to stream an InputStream back to the browser (usually for file downloads)
Velocity Result Used for Velocity integration
XSL Result Used for XML/XSLT integration
PlainText Result Used to display the raw content of a particular page (i.e jsp, HTML)
Tiles Result Used to provide Tiles integration

다른건 모르겟고.. chain의 경우 로그인과 같이 여러개 페이지를 돌릴때 묶어서(chain)
쓴다고 하는데 조금 더 찾아 봐야 할 듯..

[링크 : http://struts.apache.org/release/2.2.x/docs/result-types.html]
[링크 : http://struts.apache.org/release/2.2.x/docs/tiles-plugin.html]
    [링크 : http://struts.apache.org/release/2.2.x/docs/action-chaining.html]


'프로그램 사용 > struts2 tiles' 카테고리의 다른 글

struts2 action에 파라미터 넘기기  (0) 2014.05.22
struts2 result type input  (0) 2014.05.19
struts2 / tiles 연동시 에러  (0) 2014.05.16
tiles xml 설정(상속)  (0) 2014.05.15
struts2 .action 확장자 변경하기  (2) 2014.05.14
Posted by 구차니
스트럿츠2에 타일스를 연동하려는데 계속 에러가 나서 멘붕 -_-
XML 상으로는 문제가 없지만 action 이나 success에 연결되는 놈이 없다고 난리핀다 -_-
심각: Exception starting filter struts2
Error building results for action indexAction in namespace  - action - file:/D:/monk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/struts2_board/WEB-INF/classes/struts.xml:8:56

Caused by: There is no result type defined for type 'tiles' mapped with name 'success' - result - file:/D:/monk/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/struts2_board/WEB-INF/classes/struts.xml:9:25 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
<package name="board" extends="struts-default, tiles-default">
<action name="indexAction" class="board.indexAction">
<result type="tiles">home</result>
</action>
</package>
</struts>


스트럿츠2+타일스 통합글을 보다보니 헐...
ㅋㅋㅋㅋ
ㅋㅋㅋㅋ

struts2-core-2.0.14.jar
struts2-tiles-plugin-2.0.8.jar <<<

스트럿츠2-타일스 연동을 위해서는 플러그 인 이 추가되어야 하는데
해당 jar 파일을 넣지 않았으니.. 될리가 있나 -_-a

[링크 : http://thinkingblog.tistory.com/19

'프로그램 사용 > struts2 tiles' 카테고리의 다른 글

struts2 result type input  (0) 2014.05.19
struts2 result type  (0) 2014.05.17
tiles xml 설정(상속)  (0) 2014.05.15
struts2 .action 확장자 변경하기  (2) 2014.05.14
strtus2 레퍼런스  (0) 2014.04.30
Posted by 구차니
개소리 왈왈2014. 5. 15. 23:48
1. 도메인 1년 결제
2. ATC 2급 자격증 신청

아직.. 게임을 안질렀네? ㅋㅋㅋ 

'개소리 왈왈' 카테고리의 다른 글

호의는 호의일 뿐이려나..  (2) 2014.08.10
atc 2급 자격증 도착!  (0) 2014.05.20
벨킨 홈페이지 오류?  (0) 2014.04.25
왜 학원을 다니는걸까..  (0) 2014.04.22
끄아아아아아아앙 ㅠㅠ  (0) 2014.03.24
Posted by 구차니
extends를 이용해서 끌어오면 된다.

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
       "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">

<tiles-definitions>

    <!-- Default Main Template -->
    <definition name=".mainTemplate" template="/WEB-INF/templates/main.jsp">
        <put-attribute name="title" value="Simple Tiles 2 Example" type="string" />
        <put-attribute name="header" value="/WEB-INF/templates/header.jsp" />
        <put-attribute name="footer" value="/WEB-INF/templates/footer.jsp" />
        <put-attribute name="menu" value="/WEB-INF/templates/menu.jsp" />
        <put-attribute name="body" value="/WEB-INF/templates/blank.jsp" />
    </definition>
 
    <definition name="index" extends=".mainTemplate">
        <put-attribute name="body" value="/WEB-INF/jsp/index.jsp" />
    </definition>

    <definition name="info/about" extends=".mainTemplate">
        <put-attribute name="body" value="/WEB-INF/jsp/info/about.jsp" />
    </definition>
    
</tiles-definitions>

[링크 : http://www.springbyexample.org/examples/simple-tiles-spring-mvc-webapp-tiles-xml-config.html

'프로그램 사용 > struts2 tiles' 카테고리의 다른 글

struts2 result type input  (0) 2014.05.19
struts2 result type  (0) 2014.05.17
struts2 / tiles 연동시 에러  (0) 2014.05.16
struts2 .action 확장자 변경하기  (2) 2014.05.14
strtus2 레퍼런스  (0) 2014.04.30
Posted by 구차니
Programming/web 관련2014. 5. 15. 17:10
구글에서 검색을 해보면
왜이렇게 미친듯이 get 방식으로 길게 인자를 넘겨주나 싶었는데
캐시 정책에서 차이가 있기 때문에
대규모 요청이 들어오는 검색 엔진에서는
post로 캐싱도 못하고 노가다(?) 하는 것 보다는
get 방식으로 URL을 노출 시키고 캐싱으로 커버하는게 유리할 것으로 생각된다.


[링크 : http://www.w3schools.com/tags/ref_httpmethods.asp]

'Programming > web 관련' 카테고리의 다른 글

부트스트랩 - 웹개발 프레임워크  (0) 2014.07.07
jsp / php 기본 문법 비교  (0) 2014.07.07
sql designer(web)  (0) 2014.05.11
호스팅어 / 무료 웹 호스팅  (4) 2014.04.27
ie8 과 크롬의 html 태그 파싱 차이점  (0) 2014.04.10
Posted by 구차니
Programming/Java2014. 5. 15. 11:06
이해한 개념이 맞으려나
checked exception은 컴파일러나 jvm에 의해 말그대로 '걸러낸/확인된' 
자동화된 예외처리 방법이고 자바에서는 예외처리하도록 강제하기 위해
예외처리하지 않으면 에러라 간주하고 진행되지 않는다

unchecked 는
컴파일러에의해 검사되지않은.
개발자에 의해 예상되는 에러들을 미리 처리하는 개념이다

둘 다 예외처리이지만
개발환경(컴파일러/실행환경) 에 의해 도구적/ 시스템적으로 잡냐
개발자에 의해 수작업으로 잡냐의 차이인듯?



자바에서 exception class 에 있는 예외라도
unchecked exception이 있을수 있다. 아니 의외로 많다?

1) Unchecked Exception
The exceptions that are not checked at compile time are called unchecked exceptions, classes that extends RuntimeException comes under unchecked exceptions. Examples of some unchecked exceptions are listed below.

2) Checked Exceptions
Exceptions that are checked at compile-time are called checked exceptions, in Exception hierarchy all classes that extends Exception class except UncheckedException comes under checked exception category. 

[링크 : http://www.beingjavaguys.com/2013/04/exception-handling-in-java-exception.html] 

 A checked exception is an exception that must be either caught or declared in a method where it can be thrown. For example, the java.io.IOExceptionis a checked exception. To understand what is a checked exception, consider the following code:

[링크 : http://en.wikibooks.org/wiki/Java_Programming/Checked_Exceptions] 
 
 Unchecked, uncaught or runtime exceptions are exceptions that are not required to be caught or declared, even if it is allowed to do so. So a method can throw a runtime exception, even if this method is not supposed to throw exceptions. For example, ConcurrentModificationException is an unchecked exception.

The unchecked exceptions can only be the RuntimeException and its subclasses, and the class Error and its subclasses. All other exception classes must be handled, otherwise the compiler gives an error.

Sometime it is desirable to catch all exception for logging purposes, then throw it back on. For example, in servlet programming when application server calls the server doPost(), we want to monitor that no exception even runtime exception happened during serving the request. The application has its own logging separate from the server logging. The runtime exceptions would just go through without detecting it by the application. The following code would check all exceptions, log them, and throw it back again.

[링크 : http://en.wikibooks.org/wiki/Java_Programming/Unchecked_Exceptions 

'Programming > Java' 카테고리의 다른 글

predefined annotation /java  (0) 2014.06.27
JUnit tutorial  (0) 2014.06.27
Class.forName  (0) 2014.05.09
JDNI - Java Directory & Naming Interface  (0) 2014.05.09
jdk 1.5 - annotation / @  (0) 2014.05.08
Posted by 구차니
Programming/css2014. 5. 15. 11:05
css는 box model 을 기반으로 한다
친숙(?) 한 margin border padding으로 간격조절이 되는데
css 는 출력될 요소들을 하나의 박스에 가둬두고
박스의 안/밖간격을 통해 제어하게 된다.

크롬크롬~ ㅋ


[링크 : http://www.codeproject.com/Articles/227840/CSS-Basics-The-Box-Model-Margin-and-Padding]

'Programming > css' 카테고리의 다른 글

CSS / JS 파일 용량 줄이기  (0) 2015.09.18
css selector  (0) 2015.09.14
css 관련  (4) 2015.09.08
크롬과 IE에서 CSS 차이점 - body / background-color  (2) 2011.03.09
CSS Naked day!  (2) 2009.04.09
Posted by 구차니