🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [Servlet]����ת��ʱ��Դ����ôд��

#19614
From: javaphp
Date: Fri, 02 Jan 2004 00:41
27 lines
2130 bytes
imgservlet
�����
--
�ս����һ��վ�㣬������ͬ��Ȥ�����Ѽ��ˣ�
ÿ�ܶ����и��£������к���Ķ�����������أ�
��ӭ���٣�

http://www.javaphp.com/


--
���ѡ��㡱�ڡ�[Servlet]����ת��ʱ��Դ����ôд����һ����д��:

>    ����һ��WebApp��HelloApp������������Servlet��helloservlet��imgservlet��
>
>������helloservlet�յ�����ʱ����imgservlet���ҵ�д���ǣ�
>
>    String  new_location = "/HelloApp/imgervlet";
>    RequestDispatcher  dispatcher = getServletContext().
>                                        getRequestDispatcher(new_location);
>
>    dispatcher.forward(request, response);
>
>    ��������ʱȴ�׳������쳣��
>The requested resource (/HelloApp/imgervlet) is not available.
>
>    ���������Դ���Ӧ����ôд��3X��
Technical Details
Message-ID: <4gf9vvc7l1i9hbaskgf7tfpmghu50mvv54@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
References: <4A5Yke$AKN@freecity.cnzju.net>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,421b7feb4fb7cb20
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2004-01-01 16:40:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
From: javaphp <javaphp@sohu.com>
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: [Servlet]����ת��ʱ��Դ����ôд��
Date: Fri, 02 Jan 2004 08:41:15 +0800
Organization: Bentium Ltd. (CN99)
Lines: 28
Message-ID: <4gf9vvc7l1i9hbaskgf7tfpmghu50mvv54@4ax.com>
References: <4A5Yke$AKN@freecity.cnzju.net>
Reply-To: javaphp@sohu.com
NNTP-Posting-Host: 211.157.16.205
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit
X-Trace: news.yaako.com 1073003991 20390 211.157.16.205 (2 Jan 2004 00:39:51 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Fri, 2 Jan 2004 00:39:51 +0000 (UTC)
X-Newsreader: Forte Agent 1.8/32.548