On Thu, 12 Dec 2002, RXZ JLo wrote:
If you're serving your own static content with your
own servlet, then you
could do this. Using a Filter lets you use Tomcat's
standard static file
serving servlet with no modifications.
It seems I am confused about how RequestDispatcher
On Fri, 13 Dec 2002, RXZ JLo wrote:
Date: Fri, 13 Dec 2002 05:31:12 -0800 (PST)
From: RXZ JLo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: RequestDispatcher scenarios ( was RE: static url routing)
--- Cox, Charlie
see below
-Original Message-
From: RXZ JLo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 12:58 AM
To: Tomcat Users List
Subject: Re: RequestDispatcher scenarios ( was RE: static url routing)
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Mon, 9 Dec
--- Cox, Charlie [EMAIL PROTECTED] wrote:
RequestDisatcher is for dispatching (parts of)the
current request to other
resources in the same context without involving the
browser. This means that
it is not a new request(filters/valves/etc do not
get invoked), but it is
processed by the
-Original Message-
From: RXZ JLo [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 8:31 AM
To: Tomcat Users List
Subject: RE: RequestDispatcher scenarios ( was RE: static url routing)
--- Cox, Charlie [EMAIL PROTECTED] wrote:
RequestDisatcher is for dispatching
scenarios ( was RE:
static url routing)
--- Craig R. McClanahan [EMAIL PROTECTED]
wrote:
To do a redirect filter, then, you'd examine the
request URI to determine
what kind of remapping is needed, and then do a
RequestDispatcher.forward() call to the remapped
resource name. After
On Mon, 9 Dec 2002, RXZ JLo wrote:
Date: Mon, 9 Dec 2002 03:21:25 -0800 (PST)
From: RXZ JLo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RequestDispatcher scenarios ( was RE: static url routing)
--- Craig R. McClanahan
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
To do a redirect filter, then, you'd examine the
request URI to determine
what kind of remapping is needed, and then do a
RequestDispatcher.forward() call to the remapped
resource name. After the
forward returns (which means that the actual
.
Charlie
-Original Message-
From: RXZ JLo [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 6:21 AM
To: Tomcat Users List
Subject: RequestDispatcher scenarios ( was RE: static url routing)
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
To do a redirect filter
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
You actually *can* avoid entering a servlet, so
Filter is a very practical
way to do redirect type things, especially in the
same webapp.
Okay. Does mean I can use the Filter interface
carefully instead of Servlet interface, and still
On Sat, 7 Dec 2002, RXZ JLo wrote:
Date: Sat, 7 Dec 2002 05:02:24 -0800 (PST)
From: RXZ JLo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: static url routing
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
You
--- Noel J. Bergman [EMAIL PROTECTED] wrote:
my html files have long names like
a_b_c_d_xyz213_e_f_g.html,
a_b_c_d_pqr983_e_f_g.html
is it possible to have urls like
http://localhost:8080/myapp/html/xyz213
point to the first file above?
You can use either a Filter, or mod_rewrite
06, 2002 9:50 AM
Subject: RE: static url routing
--- Noel J. Bergman [EMAIL PROTECTED] wrote:
my html files have long names like
a_b_c_d_xyz213_e_f_g.html,
a_b_c_d_pqr983_e_f_g.html
is it possible to have urls like
http://localhost:8080/myapp/html/xyz213
point to the first file above
--- Noel J. Bergman [EMAIL PROTECTED] wrote:
my html files have long names like
a_b_c_d_xyz213_e_f_g.html,
a_b_c_d_pqr983_e_f_g.html
is it possible to have urls like
http://localhost:8080/myapp/html/xyz213
point to the first file above?
You can use either a Filter, or mod_rewrite in
On Fri, 6 Dec 2002, RXZ JLo wrote:
Date: Fri, 6 Dec 2002 01:50:31 -0800 (PST)
From: RXZ JLo [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: RE: static url routing
--- Noel J. Bergman [EMAIL PROTECTED] wrote:
my html
my html files have long names like
a_b_c_d_xyz213_e_f_g.html, a_b_c_d_pqr983_e_f_g.html
is it possible to have urls like
http://localhost:8080/myapp/html/xyz213
point to the first file above?
You can use either a Filter, or mod_rewrite in Apache httpd.
--- Noel
--
To
16 matches
Mail list logo