🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #21863

Re: JSP ��������

#21863
From: ������~~����
Date: Mon, 10 Nov 2003 12:26
33 lines
2251 bytes
�õģ����и�����
����tomcat��server.xml������
<context path="/yourProjectUrlPath"
docbase="C:\your\project\abosolute\directory\path or /relative/path/from/web
apps"
workDir="C:\your\project\abosolute\directory\path\work\org\apache\jsp" /> )
Ȼ��
Start Tomcat from Tomcat menu
Call your JSP from a web browser
In Eclipse select work folder in your project and 'Refresh from Local', java
 files generated from your JSP should be seen by Eclipse and you can set bre
akpoint
Ϊʲôeclipse����Ȼʲô���������أ�Ӧ����.java�ļ���ѽ
��server.xml�����õ���������ô��



�� �� ioly (anguls, ��������ˮ) �Ĵ������ᵽ: ��
: �����������kill java.exe���
: �� �� cowboys �Ĵ������ᵽ: ��
: : лл��������ô�ز���tomcat����
: : D:\Tomcat 4.1\bin>shutdown.bat
: : Using CATALINA_BASE:   ..
: : Using CATALINA_HOME:   ..
: : Using CATALINA_TMPDIR: ..\temp
: : Using JAVA_HOME:       D:\j2sdk1.4.2
: : Catalina.stop: java.net.ConnectException: Connection refused: connect
: : java.net.ConnectException: Connection refused: connect
: .................������ʡ�ԣ�

--
�������ɻ�
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.53.34]
Technical Details
Message-ID: <49DGH5$B8I@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB
X-Google-Thread: f6cb0,791238957e0caba6
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-11-10 04:26:22 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: cowboys.bbs@bbs.sjtu.edu.cn (������~~����)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: JSP ��������
Date: 10 Nov 2003 12:26:01 GMT
Organization: ��ˮ˼Դ
Message-ID: <49DGH5$B8I@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1068466997.A