|
|||||||||||
�O�̃N���X ���̃N���X | �t���[������ �t���[���Ȃ� | ||||||||||
�T�v: ����q | �t�B�[���h | �R���X�g���N�^ | ���\�b�h | �ڍ�: �t�B�[���h | �R���X�g���N�^ | ���\�b�h |
java.lang.Object | +--javax.servlet.GenericServlet | +--javax.servlet.http.HttpServlet
Web�T�C�g�ɓK����HTTP�T�[�u���b�g�����邽�߂ɁA�T�u�N���X����O��Ƃ��钊�ۃN���X����܂��B
HttpServlet
�̃T�u�N���X�ł́A���Ȃ��Ƃ��A�ȉ��ɋ������Ă���P�̃��\�b�h���I�[�o�[���C�h����K�v������܂��B
doGet
���\�b�h, Servlet�� HTTP GET���N�G�X�g���T�|�[�g����ꍇ
doPost
���\�b�h, HTTP POST���N�G�X�g���T�|�[�g����ꍇ
doPut
���\�b�h, HTTP PUT���N�G�X�g���T�|�[�g����ꍇ
doDelete
���\�b�h, HTTP DELETE���N�G�X�g���T�|�[�g����ꍇ
init
���\�b�h ����� destroy
���\�b�h, Servlet�̃��C�t�T�C�N�����ێ����郊�\�[�X���Ǘ��������ꍇ
getServletInfo
���\�b�h, Servlet�����g�̏������ړI�Ŏg�p����ꍇ
service
���\�b�h���I�[�o�[���C�h���闝�R�́A�قƂ�ǂ���܂���B
service
���\�b�h�́A�e�X��HTTP���N�G�X�g�ɑΉ�����n���h���i�O�q��do
XXX���\�b�h�j�Ƀf�B�X�p�b�`���邱�Ƃɂ���ĕW��HTTP���N�G�X�g���������܂��B
���l�ɁAdoOptions
���\�b�h�A����сAdoTrace
���\�b�h���I�[�o�[���C�h���闝�R���A�قƂ�ǂ���܂���B
��ʓI�ɁAServlet�̓}���`�X���b�h�E�T�[�o��Ŏ��s�����̂ŁA �T�[�u���b�g�̓��N�G�X�g����s�I�Ɏt���Ȃ���Ȃ炸�A���L���\�[�X�ւ̃A�N�Z�X�̓������Ȃǂ̒��ӂ��K�v�ƂȂ�܂��B ���L���\�[�X�ɂ́A�C���X�^���X�ϐ��܂��̓N���X�ϐ��̂悤�ȃ������f�[�^�A����сA�t�@�C���A�f�[�^�x�[�X�E�R�l�N�V�����A�l�b�g���[�N�E�R�l�N�V�����̂悤�ȊO���I�u�W�F�N�g���܂܂�܂��B Java�v���O������ɂ�����}���`�X���b�h�����ɂ��Ă̂���Ȃ��Ƃ��āA Java�`���[�g���A���̃}���`�X���b�h�v���O���~���O�̏� ���Q�l�ɂ��Ă��������B
�R���X�g���N�^�̊T�v | |
HttpServlet()
���ۃN���X�ł��邽�߁A�����s���܂���B |
���\�b�h�̊T�v | |
protected void |
doDelete(HttpServletRequest req,
HttpServletResponse resp)
Servlet��DELETE���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
|
protected void |
doGet(HttpServletRequest req,
HttpServletResponse resp)
Servlet��GET���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h��ʂ��āj�T�[�o�ɂ���ČĂяo����܂��B
|
protected void |
doHead(HttpServletRequest req,
HttpServletResponse resp)
protected�ƒ�`���ꂽ service ���\�b�h�o�R��HTTP HEAD���N�G�X�g�����A���N�G�X�g���������܂��B
|
protected void |
doOptions(HttpServletRequest req,
HttpServletResponse resp)
Servlet��OPTIONS���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
|
protected void |
doPost(HttpServletRequest req,
HttpServletResponse resp)
Servlet��POST���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
|
protected void |
doPut(HttpServletRequest req,
HttpServletResponse resp)
Servlet��PUT���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
|
protected void |
doTrace(HttpServletRequest req,
HttpServletResponse resp)
Servlet��TRACE���N�G�X�g�������\�ɂ����邽�߁A�i service ���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
|
protected long |
getLastModified(HttpServletRequest req)
1970�N1��1�� 00:00:00 GMT����̃~���b�ŁA HttpServletRequest �I�u�W�F�N�g���Ō�ɍX�V���ꂽ���Ԃ�Ԃ��܂��B
|
protected void |
service(HttpServletRequest req,
HttpServletResponse resp)
public�Œ�`���ꂽ service ���\�b�h�o�R�ŕW��HTTP���N�G�X�g�����A���������̃N���X�Œ�`���ꂽdo XXX���\�b�h�Ƀf�B�X�p�b�`���܂��B
|
void |
service(ServletRequest req,
ServletResponse res)
�N���C�A���g����̃��N�G�X�g���Aprotected�ƒ�`���ꂽ service ���\�b�h�Ƀf�B�X�p�b�`���܂��B
|
�N���X javax.servlet.GenericServlet ����p���������\�b�h |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
�N���X java.lang.Object ����p���������\�b�h |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
�R���X�g���N�^�̏ڍ� |
public HttpServlet()
���\�b�h�̏ڍ� |
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service
���\�b�h��ʂ��āj�T�[�o�ɂ���ČĂяo����܂��B
GET���N�G�X�g���T�|�[�g���邱�̃��\�b�h���I�[�o�[���C�h���邱�Ƃɂ��AHTTP HEAD���N�G�X�g�������I�ɃT�|�[�g���܂��B HEAD���N�G�X�g�Ƃ́A���X�|���X�̃{�f�B�����܂������܂߂��A���N�G�X�g�̃w�b�_���ڂ݂̂��Ԃ���� GET���N�G�X�g�ł��B
���̃��\�b�h���I�[�o�[���C�h����Ƃ��́A���N�G�X�g�f�[�^�̎擾�A���X�|���X�w�b�_�̏o�́A���X�|���X��Writer�܂���OutputStream�I�u�W�F�N�g�̎擾�A�Ō�Ƀ��X�|���X�f�[�^�̏o�́A�Ƃ������ɂȂ�܂��B
���̍ہA�R���e���c�^�C�v��G���R�[�f�B���O���܂߂�̂��x�X�g�ł��B
���X�|���X��Ԃ����߂�PrintWriter
�I�u�W�F�N�g���g�p����ۂɂ́APrintWriter
�ɃA�N�Z�X����O��Content-Type���Z�b�g����悤�ɂ��Ă��������B
HTTP�̋K��ɂ��ƁA�w�b�_���̓��X�|���X�̃{�f�B�̑O�ɑ��M���Ȃ���Ȃ�Ȃ����߁A Servlet�R���e�i�́A���X�|���X���o�͂���O�Ƀw�b�_�����o�͂��Ȃ���Ȃ�܂���B
Servlet�R���e�i���N���C�A���g�Ƀ��X�|���X��Ԃ����߂̎����I�ȃR�l�N�V�����𗘗p�ł���悤�A�\�Ȍ���A�iServletResponse.setContentLength(int)
���\�b�h���g���ājContent-Length�w�b�_���Z�b�g���A�p�t�H�[�}���X�����P�ł���悤�ɂ��܂��B
���X�|���X�S�̂����X�|���X�o�b�t�@���Ɏ��܂����ꍇ�AContent-Length�������I�ɃZ�b�g����܂��B
GET���\�b�h�͈��S�ł���ׂ��ł���A����������ƁA���[�U���ӔC�����߂̕���p�������悤�ɂ��ׂ����Ƃ������Ƃł��B �Ⴆ�A�قƂ�ǂ̃t�H�[���N�G���ɂ͕���p������܂���B �N���C�A���g�̃��N�G�X�g�ɂ��A���łɃX�g�A�ς̃f�[�^��ύX������ꍇ�́A���̃��N�G�X�g���@�Ƃ��āA����HTTP���\�b�h���g�p���ׂ��ł��B
�܂�GET���\�b�h�́A�p��(idempotent)�ł���ׂ��ł���A����́A�����v�������S�ɌJ��Ԃ����s�����邱�Ƃ��\�ł��邱�Ƃ��Ӗ����܂��B ���X���\�b�h�����S�ɂ��邱�Ƃ��܂��A�p��(idempotent)�Ƃ��邱�Ƃ�����܂��B �Ⴆ�A�N�G�����J��Ԃ����s���邱�Ƃ͙p��(idempotent)�ł����S�ł����A�I�����C�����i���w���A�������́A�f�[�^��ύX����悤�ȂƂ��́A�K���������S�������͙p��(idempotent)�ł���Ƃ͌���܂���B
���N�G�X�g���������t�H�[�}�b�g�łȂ��ꍇ�AdoGet
���\�b�h��HTTP "Bad Request" ���b�Z�[�W��Ԃ��܂��B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��GET���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- GET�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇServletResponse.setContentType(java.lang.String)
protected long getLastModified(HttpServletRequest req)
HttpServletRequest
�I�u�W�F�N�g���Ō�ɍX�V���ꂽ���Ԃ�Ԃ��܂��B
�X�V���ꂽ���Ԃ��s���̏ꍇ�A���̃��\�b�h�͕����i�f�t�H���g�l�j��Ԃ��܂��B
HTTP GET���N�G�X�g���T�|�[�g���A�Ō�ɍX�V���ꂽ���Ԃ������Ɍ���\��Servlet�ł́A���̃��\�b�h���I�[�o�[���C�h����ׂ��ł��B �������邱�Ƃɂ��A�u���E�U��v���L�V�̃L���b�V������������Ɍ��ʓI�ɂ����A�T�[�o����уl�b�g���[�N�ɂ����郊�\�[�X�̕��ׂ��y�������邱�Ƃ��\�ł��B
req
- Servlet�֗v������ HttpServletRequest
�I�u�W�F�N�g
HttpServletRequest
�I�u�W�F�N�g���Ō�ɍX�V���ꂽ���Ԃ�
long
�^�̐����l�ŕԂ��A�X�V���ꂽ���Ԃ��s���̏ꍇ�� -1 ��Ԃ�protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
protected�ƒ�`���ꂽservice
���\�b�h�o�R��HTTP HEAD���N�G�X�g�����A���N�G�X�g���������܂��B
�N���C�A���g�́AContent-Type �� Content-Length �Ƃ��������X�|���X�̃w�b�_���Q�Ƃ������Ƃ��ɁAHEAD���N�G�X�g�𑗐M���܂��B
HTTP HEAD���\�b�h�́AContent-Length�w�b�_�𐳊m�ɃZ�b�g���邽�߁A���X�|���X�̏o�̓o�C�g�����J�E���g���܂��B
���̃��\�b�h���I�[�o�[���C�h����ƁA���X�|���X�̃{�f�B��Ԃ����Ƃ�����ł��A�����ۏ���ړI�Ń��X�|���X�̃w�b�_���ڃZ�b�g���邱�Ƃ��ł��܂��B
��������doHead
���\�b�h���A���S�ł��p��(idempotent)�i�܂�A���HTTP HEAD���N�G�X�g�������s���A����ɓ��B�����邱�Ƃ�ۏ���j�ł��邩���m���߂Ă݂Ă��������B
HTTP HEAD���N�G�X�g���������t�H�[�}�b�g�łȂ��ꍇ�AdoHead
���\�b�h��HTTP "Bad Request"���b�Z�[�W��Ԃ��܂��B
req
- Servlet�֓n���ꂽ HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���w�b�_�����N���C�A���g�֕Ԃ����߂Ɏg�p���� HttpServletResponse
�I�u�W�F�N�g
IOException
- ���o�̓G���[�����������ꍇ
ServletException
- HEAD�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇprotected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Servlet��POST���N�G�X�g�������\�ɂ����邽�߁A�iservice
���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
HTTP POST���\�b�h�́A�N���C�A���g���������̒����̃f�[�^��Web�T�[�o�ֈ��ő��M���邱�Ƃ��\�ɂ��A�N���W�b�g�J�[�h�ԍ��̂悤�ȏ��𑗂�Ƃ��ɖ𗧂��܂��B
���̃��\�b�h���I�[�o�[���C�h����Ƃ��́A���N�G�X�g�f�[�^�̎擾�A���X�|���X�w�b�_�̏o�́A���X�|���X��Writer��������OutputStream�I�u�W�F�N�g�̎擾�A�����čŌ�ɁA���X�|���X�f�[�^�̏o�́A�Ƃ������ɂȂ�܂��B
���̍ہA�R���e���c�^�C�v��G���R�[�f�B���O�̎w����܂߂�̂��x�X�g�ł��B
���X�|���X��Ԃ�PrintWriter
�I�u�W�F�N�g���g�p����ۂɂ́APrintWriter
�I�u�W�F�N�g�ɃA�N�Z�X����O�ɁA�R���e���c�^�C�v���w�肷��悤�ɂ��܂��B
HTTP�̋K��ɂ��ƁA�w�b�_���̓��X�|���X�̃{�f�B�̑O�ɑ��M���Ȃ���Ȃ�Ȃ����߁A Servlet�R���e�i�́A���X�|���X���o�͂���O�Ƀw�b�_�����o�͂��Ȃ���Ȃ�܂���B
Servlet�R���e�i���N���C�A���g�Ƀ��X�|���X��Ԃ����߂̎����I�ȃR�l�N�V�����𗘗p�ł���悤�A�\�Ȍ���A�iServletResponse.setContentLength(int)
���\�b�h�𗘗p���ājContent-Length�w�b�_���Z�b�g���A�p�t�H�[�}���X�����P�ł���悤�ɂ��܂��B
���X�|���X�S�̂����X�|���X�o�b�t�@���Ŏ��܂����ꍇ�A�R���e���c�̒����͎����I�ɃZ�b�g����܂��B
HTTP 1.1 �� Chunked �G���R�[�f�B���O�i���X�|���X��Transfer-Encoding�w�b�_���܂܂�邱�Ƃ��Ӗ�����j���g�p���Ă���Ƃ��́AContent-Length�w�b�_���w�肵�Ȃ��ł��������B
���̃��\�b�h�́A���S�������͙p��(idempotent)�ł���K�v�͂���܂���B POST��ʂ��ă��N�G�X�g���ꂽ�I�y���[�V�����́A�Ⴆ�A�X�g�A�σf�[�^�̍X�V��I�����C�����i�̍w���̂悤�ɁA���[�U���ӔC��Ȃ�������Ȃ�����p�������Ă��\���܂���B
HTTP POST���N�G�X�g���������t�H�[�}�b�g�łȂ��ꍇ�AdoPost
���\�b�h��HTTP "Bad Request"���b�Z�[�W��Ԃ��܂��B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��POST���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- POST�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇServletOutputStream
,
ServletResponse.setContentType(java.lang.String)
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Servlet��PUT���N�G�X�g�������\�ɂ����邽�߁A�iservice
���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
PUT�I�y���[�V�����ɂ���āA�N���C�A���g���T�[�o��Ƀt�@�C����z�u�����邱�Ƃ��\�ƂȂ�܂��B����� FTP�o�R�t�@�C����]�����邱�ƂƂ悭���Ă��܂��B
���̃��\�b�h���I�[�o�[���C�h����Ƃ��́A���N�G�X�g�Ƃ��đ���ꂽ������R���e���c�w�b�_�iContent-Length, Content-Type, Content-Transfer-Encoding, Content-Encoding, Content-Base, Content-Language, Content-Location, Content-MD5, and Content-Range���܂ށj�ɑ��āA��؎�����Ȃ��悤�ɂ��Ă��������B ���\�b�h���R���e���c�w�b�_�������ł��Ȃ��ꍇ�A�G���[���b�Z�[�W�iHTTP 501 - Not Implemented�j�������A���N�G�X�g�����Ȃ���Ȃ�܂���B HTTP 1.1 �Ɋւ���ڍׂȏ��́ARFC 2068���Q�Ƃ��Ă��������B(��: RFC 2068 �́ARFC 2616, 2817 �ɒu���������Ă��܂��B)
���̃��\�b�h�́A���S�������͙p��(idempotent)�ł���K�v�͂���܂���B
doPut
���\�b�h�����s����I�y���[�V�����́A���[�U���ӔC��Ȃ�������Ȃ�����p�������Ă��\���܂���B
���̃��\�b�h���g���ƁA���炩�̉e�����y�ڂ��悤��URL�̃R�s�[���ꎞ�L�����u�ɕۑ�����̂ɖ��ɗ���������܂���B
HTTP PUT���N�G�X�g���������t�H�[�}�b�g�łȂ��ꍇ�AdoPut
���\�b�h��HTTP "Bad Request"���b�Z�[�W��Ԃ��܂��B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��PUT���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- PUT�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇprotected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Servlet��DELETE���N�G�X�g�������\�ɂ����邽�߁A�iservice
���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
DELETE�I�y���[�V�����ɂ���āA�N���C�A���g���T�[�o��̃h�L�������g������Web�y�[�W���폜�����邱�Ƃ��\�ƂȂ�܂��B
���̃��\�b�h�́A���S�������͙p��(idempotent)�ł���K�v�͂���܂���B DELETE��ʂ��ă��N�G�X�g���ꂽ�I�y���[�V�����́A���[�U���ӔC��Ȃ���Ȃ�Ȃ�����p�������Ă��\���܂���B ���̃��\�b�h���g���ƁA���炩�̉e�����y�ڂ��悤��URL�̃R�s�[���ꎞ�L�����u�ɕۑ�����̂ɖ��ɗ���������܂���B
HTTP DELETE���N�G�X�g���������t�H�[�}�b�g�łȂ��ꍇ�AdoDelete
���\�b�h��HTTP "Bad Request"���b�Z�[�W��Ԃ��܂��B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��DELETE���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- DELETE�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇprotected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
Servlet��OPTIONS���N�G�X�g�������\�ɂ����邽�߁A�iservice
���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
OPTIONS���N�G�X�g�́A�T�[�o�̃T�|�[�g����HTTP���\�b�h�����肵�A�K���ȃw�b�_����Ԃ��܂��B
�Ⴆ�AServlet��doGet
���I�[�o�[���C�h���ꂽ�ꍇ�A���̃��\�b�h�͎��̂悤�ȃw�b�_����Ԃ��܂��B
Allow: GET, HEAD, TRACE, OPTIONS
Servlet���V����HTTP���\�b�h���������Ȃ�����A���Ȃ킿�AHTTP 1.1 �Œ�`����ĂȂ�HTTP���\�b�h�łȂ���A���̃��\�b�h���I�[�o�[���C�h����K�v�͂���܂���B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��OPTIONS���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- OPTIONS�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇprotected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
service
���\�b�h�o�R�Łj�T�[�o�ɂ���ČĂяo����܂��B
TRACE�́ATRACE���N�G�X�g�Ƃ��đ���ꂽ�w�b�_�����N���C�A���g�֕Ԃ����Ƃɂ���āA�������f�o�b�O�ړI�Ŏg�p���邱�Ƃ��\�ƂȂ�܂��B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��TRACE���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- TRACE�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇprotected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
public�Œ�`���ꂽservice
���\�b�h�o�R�ŕW��HTTP���N�G�X�g�����A���������̃N���X�Œ�`���ꂽdo
XXX���\�b�h�Ƀf�B�X�p�b�`���܂��B
���̃��\�b�h�́AServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
���\�b�h��HTTP�d�l�o�[�W�����ł��B
���̃��\�b�h���I�[�o�[���C�h����K�v�͂���܂���B
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gresp
- Servlet���N���C�A���g�ɕԂ����X�|���X���e���܂� HttpServletResponse
�I�u�W�F�N�g
IOException
- Servlet��TRACE���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- TRACE�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException
service
���\�b�h�Ƀf�B�X�p�b�`���܂��B
���̃��\�b�h���I�[�o�[���C�h����K�v�͂���܂���B
Servlet
���� service
GenericServlet
���� service
req
- �N���C�A���g��Servlet�֗v���������N�G�X�g���e���܂� HttpServletRequest
�I�u�W�F�N�gres
- Servlet����̃��X�|���X�ɂȂ�
ServletResponse
�I�u�W�F�N�g
IOException
- Servlet��TRACE���N�G�X�g���������Ă���Ԃɓ��o�̓G���[�����������ꍇ
ServletException
- TRACE�ɑ������郊�N�G�X�g�������ł��Ȃ��ꍇServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
|
|||||||||||
�O�̃N���X ���̃N���X | �t���[������ �t���[���Ȃ� | ||||||||||
�T�v: ����q | �t�B�[���h | �R���X�g���N�^ | ���\�b�h | �ڍ�: �t�B�[���h | �R���X�g���N�^ | ���\�b�h |
���̃h�L�������g�́AJa-Jakarta Project �ɂ��|��܂����B�R�����g������ꍇ�́A[email protected]�܂ł��肢���܂��B
Copyright © 1999-2002 The Apache Software Foundation. All Rights Reserved.