վҳ   ϵ 
վҳ ע ҵʾ ͨ ܽվ ̬ ҵƽ̨  
վҳ
֧ҳ
ռ
ܽվ
ͨ
̬
ѯ
 

   

JSP����ʹ��˵��


��������ǿϵ�� ������JSPϵ��
Tomcat4.1.24 ������
֧�� Servlet 2.3 and JSP 1.2
 

JDBC mm.mysql-2.0.14
JDBC microsoft.jdbc.sqlserver
J2SDK1.4.1 ������

������WEB CONTEXT
 

context autoreloadable ��֧��Manager
servlet Ӧ���� /WEB-INF/classes/

֧������

���ӳ�ʽ���� http://www.yourdomain.com/jsp/ , http://www.yourdomain.com/servlets

�ٶȼ���
5�˺����� ������ר����A ������ר����D

����в���JSP �߼����û���Ӧ �� context �� ÿ��context ��WEB-INF ��Ҫ����һ�� ���� JSP����ĸ�Ŀ¼�� / ��JSP �ĸ�Ŀ¼��/ROOT ��̫���� ,�� ������Ҳ��������, ���û� JSP �������ļ��ĸ�Ŀ¼���غ�Ϊ / , �½���Ŀ¼�粻�����þ�ʹ�� / ������, �������õ�Ŀ¼����������Ϊ׼ �� manager ��������Ҫ�� 8080 ��

Tomcat4.1.24 ������
��������Catalina �ں�
֧�� Servlet 2.3 and JSP 1.2
 

JDBC mm.mysql-2.0.14
JDBC microsoft.jdbc.sqlserver
J2SDK1.4.x

֧������
���ӳ�ʽ���� http://www.yourdomain.com/examples/jsp/ , http://www.yourdomain.com/examples/
 

servlet Ӧ���� /WEB-INF/classes/

For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classe of your web application archive, or place JAR files containing those classes and resources under /WEB-INF/lib of your web application archive.

�ٶȼ���

֧��Manager ����վ���������µ�web application�ȵ����и߼�����

��һ���� Jasper 2 JSP page compiler,��ǿ�Ĺ�����,����ȵ��������ܺ��ȶ���!.
(Manager ����manager Ŀ¼�У� ���Բ���ɾ��managerĿ¼ �� manager.xml)
�� WEB CONTEXT ÿ��Ŀ¼Ϊһ�� Web Application , ���ɶ�̬���ӡ�����ɾ��Web Application

  ʹ�÷��� (ֻ��������Աʹ�ã�):


2.0 MANAGER �Ĺ���Ϊ���������ĵ��û���(��d1234) ����Ϊ ��ʼ����

2.1�����ʽ http://{host}/manager/{command}?{parameters}
( ȫ��WEB���� http://yourdomain.com/manager/html/ )



 

2.2 �г����е�Web Application

http://www.yourdomain.com/manager/list

2.3 չ��һ��Web Application

http://www.yourdomain.com/manager/deploy?path=/foo

2.4 ����һ��Web Application

http://www.yourdomain.com/manager/install?path=/foo&war=file:/path/to/foo
http://www.yourdomain.com/manager/install?path=/bar&war=jar:file:/path/to/bar.war!/

2.5 ����

http://www.yourdomain.com/manager/reload?path=/examples

2.6 ɾ��web Application

http://www.yourdomain.com/manager/remove?path=/examples (�벻Ҫʹ��,���򽫵������web Application ����ʹ��)

  ����Ĺ���


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html

JSP����֧������
JSP Servlet ��������
  ע������


�벻Ҫ�޸� manager �µ��ļ���

����

 
 
  打 印   发 送 时代互联Todaynic.com, Inc. 版权所有 ©2000-2024
《中华人民共和国增值电信业务经营许可证》 ISP证粤B2-20042046