<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Seoggy&#039;s Blog</title>
	<atom:link href="http://seoggy.net/wp/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://seoggy.net/wp</link>
	<description>html5 &#38; Javascript</description>
	<lastBuildDate>Tue, 28 Feb 2012 02:03:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>POJO 클래스</title>
		<link>http://seoggy.net/wp/?p=932</link>
		<comments>http://seoggy.net/wp/?p=932#comments</comments>
		<pubDate>Tue, 28 Feb 2012 02:03:08 +0000</pubDate>
		<dc:creator>초록별사랑</dc:creator>
				<category><![CDATA[분류되지 않음]]></category>

		<guid isPermaLink="false">http://seoggy.net/wp/?p=932</guid>
		<description><![CDATA[POJO클래스는 아무런 갯체도 상속을 받지 않는 순수한 자바 클래스
-&#62; 다만 무조건 상속하지 않아야 POJO가 되는것은 아니구 사용하는 프레임웤에 의존하지 않는 클래스, 스트러츠의 경우 프레임웤을 사용하기 위해 ActionSupport를 상속받으면 POJO로 볼수 없다. 그러나 스프링 같은 경우는 스프링 자원을 이용하고 있어도 스프링에서 정확한 인터페이스나 클래스를 상속하지 않는다. 이런경우 POJO이다.
단. 쓰레드 클래스를 구헌하기 위해 Runnable인터페이스를 상속한다면 이 클래스 [...]]]></description>
			<content:encoded><![CDATA[<p>POJO클래스는 아무런 갯체도 상속을 받지 않는 순수한 자바 클래스</p>
<p>-&gt; 다만 무조건 상속하지 않아야 POJO가 되는것은 아니구 사용하는 프레임웤에 의존하지 않는 클래스, 스트러츠의 경우 프레임웤을 사용하기 위해 ActionSupport를 상속받으면 POJO로 볼수 없다. 그러나 스프링 같은 경우는 스프링 자원을 이용하고 있어도 스프링에서 정확한 인터페이스나 클래스를 상속하지 않는다. 이런경우 POJO이다.</p>
<p>단. 쓰레드 클래스를 구헌하기 위해 Runnable인터페이스를 상속한다면 이 클래스 또한 POJO라고 할수 있는데 이는 Runnable클래스를 구현하는 이유가 프레임웤 제약때문이 아니라 구현을 목적(쓰레드)으로 하고 있기 때문이다.</p>
]]></content:encoded>
			<wfw:commentRss>http://seoggy.net/wp/?feed=rss2&amp;p=932</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 HelloWorld 프로젝트 세팅하기</title>
		<link>http://seoggy.net/wp/?p=920</link>
		<comments>http://seoggy.net/wp/?p=920#comments</comments>
		<pubDate>Mon, 20 Feb 2012 08:49:54 +0000</pubDate>
		<dc:creator>초록별사랑</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://seoggy.net/wp/?p=920</guid>
		<description><![CDATA[Struts2를 시작하면서 가장 어려운것은 설정이 아닐까 한다.
자바에 정통하거나 많은 프로그램이 없다면 당연히 어디 위치에 어떻게 만들어야 하는지 최초 설정이 대단히 어렵게 느껴진다.
설정을 하고 정상적으로 작동하는 모습을 보면 다음부터는 좀더 빠른 스피드로 정리를 해나갈수 있으리라고 생각한다.
아래 내용은 Struts2의 HelloWorld를 출력하는 가장 기본적인 프로그램을 실행하는 방법이다.
아래 내용으로 부터 점차적으로 발전시켜 나아가길 바란다.
1. web.xml 세팅
/WEB-INF/web.xml
&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;web-app id="WebApp_9" [...]]]></description>
			<content:encoded><![CDATA[<p>Struts2를 시작하면서 가장 어려운것은 설정이 아닐까 한다.</p>
<p>자바에 정통하거나 많은 프로그램이 없다면 당연히 어디 위치에 어떻게 만들어야 하는지 최초 설정이 대단히 어렵게 느껴진다.</p>
<p>설정을 하고 정상적으로 작동하는 모습을 보면 다음부터는 좀더 빠른 스피드로 정리를 해나갈수 있으리라고 생각한다.</p>
<p>아래 내용은 Struts2의 HelloWorld를 출력하는 가장 기본적인 프로그램을 실행하는 방법이다.</p>
<p>아래 내용으로 부터 점차적으로 발전시켜 나아가길 바란다.</p>
<p>1. web.xml 세팅<br />
/WEB-INF/web.xml</p>
<pre class="brush: xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
	&lt;display-name&gt;Struts Blank&lt;/display-name&gt;

	&lt;filter&gt;
		&lt;filter-name&gt;struts2&lt;/filter-name&gt;
		&lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
	&lt;/filter&gt;

	&lt;filter-mapping&gt;
		&lt;filter-name&gt;struts2&lt;/filter-name&gt;
		&lt;url-pattern&gt;/*&lt;/url-pattern&gt;
	&lt;/filter-mapping&gt;

	&lt;welcome-file-list&gt;
		&lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
	&lt;/welcome-file-list&gt;
&lt;/web-app&gt;</pre>
<p>2. 액션클래스 생성<br />
/src/HelloWord/HelloWorldAction.java</p>
<pre class="brush: java">package HelloWorld;

public class HelloWorldAction {
	private String hello;

	public String execute() throws Exception{
		hello = "Hello World!!!!!";
		return "success";
	}

	public String getHello() {
		return hello;
	}

	public void setHello(String hello) {
		this.hello = hello;
	}
}</pre>
<p>3. 리절트페이지 생성<br />
/hello.jsp</p>
<pre class="brush: html">&lt;%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%&gt;
&lt;%@ taglib prefix="s" uri="/struts-tags"%&gt;
&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="UTF-8"&gt;
&lt;title&gt;Insert title here&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;s:property value="hello" /&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>4. struts.xml액션과 리절트 정의<br />
/src/struts.xml</p>
<pre class="brush: xml">&lt;?xml version="1.0" encoding="UTF-8"?&gt;

&lt;!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
          "http://struts.apache.org/dtds/struts-2.0.dtd"&gt;

&lt;struts&gt;
	&lt;package name="hello" extends="struts-default" namespace=""&gt;
		&lt;action name="helloAction" class="HelloWorld.HelloWorldAction"&gt;
			&lt;result&gt;/hello.jsp&lt;/result&gt;
		&lt;/action&gt;

	&lt;/package&gt;
&lt;/struts&gt;</pre>
<p><a href="http://seoggy.net/wp/wp-content/uploads/2012/02/struts2.jpg"><img class="alignnone size-full wp-image-925" title="struts2" src="http://seoggy.net/wp/wp-content/uploads/2012/02/struts2.jpg" alt="" width="430" height="631" /></a></p>
<p>출력결과</p>
<p><a href="http://seoggy.net/wp/wp-content/uploads/2012/02/helloWorld.jpg"><img class="alignnone size-full wp-image-930" title="helloWorld" src="http://seoggy.net/wp/wp-content/uploads/2012/02/helloWorld.jpg" alt="" width="600" height="298" /></a></p>
<p>※ 액션과 사용자 요청과의 관계</p>
<p>- 액션은 하나의 작업단위.</p>
<p>- 액션은 하나의 URL</p>
<p>- 액션은 하나의 클래스 또는 메서드</p>
<p>- 액션은 한 종류의 비즈니스 로직을 수행하기 위한 통로</p>
<p>- 액션은 POHO클래스</p>
<p>- 액션은 struts.xml에서 정의</p>
<p>- 액션 메서드는 스트링 리절트 코드를 반환한다.</p>
]]></content:encoded>
			<wfw:commentRss>http://seoggy.net/wp/?feed=rss2&amp;p=920</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 환경설정</title>
		<link>http://seoggy.net/wp/?p=915</link>
		<comments>http://seoggy.net/wp/?p=915#comments</comments>
		<pubDate>Mon, 20 Feb 2012 07:38:52 +0000</pubDate>
		<dc:creator>초록별사랑</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://seoggy.net/wp/?p=915</guid>
		<description><![CDATA[1. J2SE설치
- Struts2는 Servlet API 2.4, JSP API 2.0, Java1.5 이상의 버전이 요구.
- http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. 톰캣 설치
- tomcat7은 테스트해보지 못했다. 우선 tomcat6으로 설치해서 확인해보길..
- http://tomcat.apache.org/download-60.cgi
3. 이클립스 설치
- http://www.eclipse.org/downloads/
4. Struts2 설치
- http://struts.apache.org/download.cgi
5. 샘플 프로젝트 구성
- Struts2 다운로드 받은 파일을 압축을 풀어주면 status2-blank.war 파일이 있다. 이 파일을 tomcat6\webapps 폴더에 복사하고 \tomcat6\bin\startup.bat을 실행하면 압축이 풀리면서 기본적인 status2 프로젝트의 구조를 [...]]]></description>
			<content:encoded><![CDATA[<p>1. J2SE설치</p>
<p>- Struts2는 Servlet API 2.4, JSP API 2.0, Java1.5 이상의 버전이 요구.</p>
<p>- <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a></p>
<p>2. 톰캣 설치</p>
<p>- tomcat7은 테스트해보지 못했다. 우선 tomcat6으로 설치해서 확인해보길..</p>
<p>- <a href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a></p>
<p>3. 이클립스 설치</p>
<p>- <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></p>
<p>4. Struts2 설치</p>
<p>- <a href="http://struts.apache.org/download.cgi">http://struts.apache.org/download.cgi</a></p>
<p>5. 샘플 프로젝트 구성</p>
<p>- Struts2 다운로드 받은 파일을 압축을 풀어주면 status2-blank.war 파일이 있다. 이 파일을 tomcat6\webapps 폴더에 복사하고 \tomcat6\bin\startup.bat을 실행하면 압축이 풀리면서 기본적인 status2 프로젝트의 구조를 알수 있다.</p>
<p>다음에는 샘플프로젝트를 구성하는 방법을 알아보자..</p>
]]></content:encoded>
			<wfw:commentRss>http://seoggy.net/wp/?feed=rss2&amp;p=915</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Struts2 시작하기</title>
		<link>http://seoggy.net/wp/?p=911</link>
		<comments>http://seoggy.net/wp/?p=911#comments</comments>
		<pubDate>Mon, 20 Feb 2012 07:17:21 +0000</pubDate>
		<dc:creator>초록별사랑</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://seoggy.net/wp/?p=911</guid>
		<description><![CDATA[Struts2란?
MVC모델 웹개발을 위한 프레임워크..
Struts2 의특징

Struts1과는 전혀다른 MVC 아키텍처를 사용하는 새로운 프레임워크
직관적으로 개발할수 있도록 디자인
제로 컨피규레이션 지향
신속한 리로딩
POJO액션
POJO폼
인터셉터
강력한 태그 지원
손쉬원 Ajax 구현
유용한 플러그인 기능
의존성 주입 지원
다양한 리절트 타입 지원
프로파일링

다음에는 Struts2를 이용한 HelloWorld를 작성해보자..
]]></description>
			<content:encoded><![CDATA[<p>Struts2란?</p>
<p>MVC모델 웹개발을 위한 프레임워크..</p>
<p>Struts2 의특징</p>
<ol>
<li>Struts1과는 전혀다른 MVC 아키텍처를 사용하는 새로운 프레임워크</li>
<li>직관적으로 개발할수 있도록 디자인</li>
<li>제로 컨피규레이션 지향</li>
<li>신속한 리로딩</li>
<li>POJO액션</li>
<li>POJO폼</li>
<li>인터셉터</li>
<li>강력한 태그 지원</li>
<li>손쉬원 Ajax 구현</li>
<li>유용한 플러그인 기능</li>
<li>의존성 주입 지원</li>
<li>다양한 리절트 타입 지원</li>
<li>프로파일링</li>
</ol>
<p>다음에는 Struts2를 이용한 HelloWorld를 작성해보자..</p>
]]></content:encoded>
			<wfw:commentRss>http://seoggy.net/wp/?feed=rss2&amp;p=911</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>윈도7에서 깨진아이콘 복구하기</title>
		<link>http://seoggy.net/wp/?p=833</link>
		<comments>http://seoggy.net/wp/?p=833#comments</comments>
		<pubDate>Fri, 02 Sep 2011 02:30:43 +0000</pubDate>
		<dc:creator>초록별사랑</dc:creator>
				<category><![CDATA[분류되지 않음]]></category>

		<guid isPermaLink="false">http://seoggy.net/wp/?p=833</guid>
		<description><![CDATA[아래내용을 복사하여 iconcache.cmd로 저장한후 실행하면 됩니다.

@echo off
taskkill /f /im explorer.exe
attrib %userprofile%\appdata\local\iconcache.db -s -r -h
del /q %userprofile%\appdata\local\iconcache.db
start explorer.exe
exit

그런데 아이콘이 정상적으로 안된고 시스템 아이템으로 변하는경우가 있네요..
다시부팅하면 정상적으로 될지 의문이지만 아이콘이 깨진부분이 보이지 않아 좀 낫군요.^^
[출처] http://snoopybox.co.kr/1108
]]></description>
			<content:encoded><![CDATA[<p>아래내용을 복사하여 iconcache.cmd로 저장한후 실행하면 됩니다.</p>
<div id="_mcePaste">
<div id="_mcePaste">@echo off</div>
<div id="_mcePaste">taskkill /f /im explorer.exe</div>
<div id="_mcePaste">attrib %userprofile%\appdata\local\iconcache.db -s -r -h</div>
<div id="_mcePaste">del /q %userprofile%\appdata\local\iconcache.db</div>
<div id="_mcePaste">start explorer.exe</div>
<div id="_mcePaste">exit</div>
</div>
<div>그런데 아이콘이 정상적으로 안된고 시스템 아이템으로 변하는경우가 있네요..</div>
<div>다시부팅하면 정상적으로 될지 의문이지만 아이콘이 깨진부분이 보이지 않아 좀 낫군요.^^</div>
<div>[출처] <a href="http://snoopybox.co.kr/1108">http://snoopybox.co.kr/1108</a></div>
]]></content:encoded>
			<wfw:commentRss>http://seoggy.net/wp/?feed=rss2&amp;p=833</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

