������Ȃ����ʂɓ����Ă��܂��BStruts ��G��Ȃ��Ȃ��Ă��琏���o���܂����A��͂�܂��嗬���낤�Ƃ������ƂŁA���傢�ƏЉ�Ă����܂��B
�{���́Amaven �� archetype �Ƃ���肽�����ǁAGoogle �l���p�ӂ��Ă������̂Ƃ̒����Ȃǂ�������Ȃ̂ŁA����́Awar/WEB-INF/lib �ȉ��Ɋ֘A�t�@�C��������R�s�[���Ċ��\�z���܂����B
�ړI�n�́AStruts �ŗp�ӂ���Ă���T���v���A�v���� GAE/J �œ��������Ƃł��B
(1) Struts �̃��C�u�������_�E�����[�h
http://struts.apache.org/download.cgi#struts1310
����Astruts-1.3.10-apps.zip ���_�E�����[�h���܂��傤�B
(2) struts-blank-1.3.10.war ��W�J
war�t�@�C���� jar �R�}���h�œW�J���邱�Ƃ��ł��܂��B
jar xvf struts-blank-1.3.10.war
�Ƃ��ēW�J���܂��傤�B
(3) Web Application �v���W�F�N�g�̍쐬
eclipse (with google plugin) �� File > New > Web Application Project ��I�����A�v���W�F�N�g������͂��܂��B
�����ł́A�v���W�F�N�g���� [googleappengine]�A�p�b�P�[�W���� [net.seesaa ] �Ƃ��܂��B
��Use Google Web Tool... �̃`�F�b�N�͊O���܂��B
(4) �K�v�ȃt�@�C�����R�s�[
(2) �œW�J�����t�H���_����K�v�ȃt�@�C�����v���W�F�N�g�ɒlj����Ă����܂��B
��jar�t�@�C��
From
�W�J�t�H���_/WEB-INF/lib/*
To
�@googleappengine/war/WEB-INF/lib/antlr-2.7.2.jar
�@googleappengine/war/WEB-INF/lib/commons-beanutils-1.8.0.jar
�@googleappengine/war/WEB-INF/lib/commons-chain-1.2.jar
�@googleappengine/war/WEB-INF/lib/commons-digester-1.8.jar
�@googleappengine/war/WEB-INF/lib/commons-logging-1.0.4.jar
�@googleappengine/war/WEB-INF/lib/commons-validator-1.3.1.jar
�@googleappengine/war/WEB-INF/lib/oro-2.0.8.jar
�@googleappengine/war/WEB-INF/lib/struts-core-1.3.10.jar
�@googleappengine/war/WEB-INF/lib/struts-taglib-1.3.10.jar
�@googleappengine/war/WEB-INF/lib/struts-tiles-1.3.10.jar
���ݒ�t�@�C��
From
�W�J�t�H���_/WEB-INF/struts-config.xml
�W�J�t�H���_/WEB-INF/validation.xml
�W�J�t�H���_/WEB-INF/web.xml
To
�@googleappengine/war/WEB-INF/struts-config.xml
�@googleappengine/war/WEB-INF/validation.xml
�@googleappengine/war/WEB-INF/web.xml
web.xml���㏑������̂�������܂��̂ŁA���킸 [Yes].
��jsp
From
�@�W�J�t�H���_/index.jsp
�@�W�J�t�H���_/pages/Welcome.jsp
To
�@googleappengine/war/index.jsp
�@googleappengine/war/pages/Welcome.jsp (pages�t�H���_���쐬)
�@
�����b�Z�[�W�t�@�C��
From
�@�W�J�t�H���_/WEB-INF/src/java/MessageResources.properties
To
�@googleappengine/src/MessageResources.properties
(5) session �̐ݒ�
�@googleappengine/war/WEB-INF/appengine-web.xml �ɂP�s�lj����܂��B
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application></application>
<version>1</version>
<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
<sessions-enabled>true</sessions-enabled> <--�lj�-- >
</appengine-web-app>
���̐ݒ���L�q���Ȃ���
Session support is not enabled in appengine-web.xml.
�Ɠ{���Ă��܂��܂��B
(6) �A�v���P�[�V�������N��
�v���W�F�N�g���E�N���b�N > Run As > Run Configuration ��I�����āA�A�v���P�[�V�������N�����Ă��������B
(7) �A�N�Z�X�I�I
http://localhost:8080/
�ɃA�N�Z�X���Ă��������B
�ȉ��̂悤�ȃy�[�W���o�͂����Ƃ肠���������Ă��邱�ƂɂȂ�܂��B
�{���́A�v���W�F�N�g�� Build Path ��ς����肵�Ȃ���Ȃ�܂��A�Ƃ肠�������������Ƃ�����ړI�Ƃ��Ă��̂悤�ɂ��܂����B