'잡동사니'에 해당되는 글 13248건

  1. 2014.05.20 oracle alter
  2. 2014.05.19 apache velocity
  3. 2014.05.19 struts2 result type input
  4. 2014.05.19 php 로그인 예제
  5. 2014.05.18 Visual C++ Runtime / Buffer overrun detected
  6. 2014.05.18 subclipse vs subversive?
  7. 2014.05.17 오리진이 나에게 게임을 주었어 - 식좀
  8. 2014.05.17 CRUD
  9. 2014.05.17 struts2 result type
  10. 2014.05.16 struts2 / tiles 연동시 에러
프로그램 사용/oracle2014. 5. 20. 15:43
변경시에는 추가된 값이 있으면 안되는 경우도 있으니(date -> varchar2)
주의해서 사용해야 할 듯...

alter table tablename add (colname type ..) // 항목 추가하기
alter table tablename drop column // 항목 삭제하기
alter table tablename modify (colname newtype ..) // 변수형 바꾸기
alter table tablename rename column oldname to newname // 항목명 바꾸기(9iR2 이후) 

[링크 : http://majesty76.tistory.com/27]


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

oracle 타입 - nvarchar2 varchar2  (0) 2014.05.20
oracle view  (0) 2014.05.20
oracle sequence 명령어  (0) 2014.05.11
오라클 DDL 정리  (0) 2014.05.11
오라클 10g용 시작/종료 스크립트  (0) 2014.04.11
Posted by 구차니
Programming/jsp2014. 5. 19. 17:24
스프링 수업중에 벨로시티 언급이 또 들리길래 한번 검색..


벨로시티란 자바 기반의 템플릿 엔진입니다.
벨로시티를 활용하면 간단하면서도 강력한 템플릿 언어를 통하여 자바 코드에 정의된 객체를 액세스할 수 있습니다. 
벨로시티를 웹 개발에 사용하면, 웹 디자이너는 자바 프로그래머와 병렬로 작업을 할 수 있으며 MVC(모델-뷰-컨트롤러) 모델에 따라 웹 사이트를 개발할 수 있습니다. 더 자세히 설명하면 웹 페이지 디자이너의 경우 보기 좋은 사이트를 만드는 데만 집중하면 되고, 프로그래머는 잘 동작하는 코드를 만드는 데만 집중하면 된다는 뜻입니다. 
벨로시티는 웹 페이지와 자바 코드를 분리하여, 장기적인 측면에서 볼 때 웹 사이트를 손쉽게 유지보수할 수 있도록 하고, 자바 서버 페이지 (JSP) 또는 PHP를 대체할 수 있는 방안을 제시합니다. 벨로시티의 쓰임새는 웹 사이트에 국한되지 않습니다. 예를 들면, 템플릿으로부터 SQL이나 포스트스크립트, 또는 XML(XML 변환에 대해서는 벨로시티 툴 중 하나인 아나키아(Anakia)를 참조)문서를 생성하는 데 쓰일 수 있습니다벨로시티는 스탠드얼론 유틸리티처럼 사용하여 소스 코드나 리포트를 생성할 수도 있고, 다른 시스템의 컴포넌트로 통합할 수도 있습니다. 또한 벨로시티는 터빈 (또다른 자카르타 서브 프로젝트 중 하나) 웹 애플리케이션 프레임웍에 템플릿 서비스를 제공합니다. 벨로시티와 터빈을 조합하면 진정한 MVC 모델에 따라 웹 애플리케이션을 개발할 수 있습니다

[링크 : http://www.javajigi.net/pages/viewpage.action?pageId=210

[링크 : http://a3040.com/bbs/board.php?bo_table=Jsp&wr_id=8]
[링크 : http://velocity.apache.org/]

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

jsp tomcat 서버가 구동되지 않을 경우  (6) 2014.05.20
ORM - Object-relational mapping  (0) 2014.05.20
JSP 서블릿 매핑  (0) 2014.05.08
EL(Expression Language)$와 #  (0) 2014.04.30
POJO - Plain Old Java Object  (0) 2014.04.29
Posted by 구차니

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

스트럿츠 동적 레이아웃 구성하기  (0) 2014.05.22
struts2 action에 파라미터 넘기기  (0) 2014.05.22
struts2 result type  (0) 2014.05.17
struts2 / tiles 연동시 에러  (0) 2014.05.16
tiles xml 설정(상속)  (0) 2014.05.15
Posted by 구차니
Programming/php2014. 5. 19. 11:16
언젠간 쓸일이 있겠지? 

[링크 : http://jmnote.com/wiki/PHP_세션_로그인_구현]

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

php5 class / object oriented programming  (4) 2014.07.07
웹소켓 (websocket)  (0) 2014.07.03
php framework / 읽을꺼리  (0) 2014.04.09
php 메뉴얼  (0) 2014.03.28
php $_SERVER 변수  (0) 2013.07.07
Posted by 구차니
Microsoft/Windows2014. 5. 18. 21:27
구석기 시대(?) 프로그램인
photoWORKS를 실행하는데 이런게 뜨는 바람에 -_-
고민을 하고 찾아봐도 이렇다할 해결책은 찾지 못했는데

걍 무시하고 옆에 에러창 치워두고 실행하면 되긴된다.

개인적인 추측에는..
MS에서 mscrt.dll 쪽 런타임 라이브러리 업데이트 되면서
강제로 buffer security check가 활성화 된 것 같긴한데..
컴파일 시간에 정해지는거라.. 런타임 라이브러리쪽으로는 건드릴 방법이 전무해 보인다,.

[링크 : http://stackoverflow.com/.../how-to-disable-buffer-overflow-checking-in-the-visual-c-runtime]
[링크 : http://answers.microsoft.com/.../microsoft-visual-c-runtime-library-buffer-overrun/.../]


Posted by 구차니
프로그램 사용/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 구차니