Re: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-14 Thread Craig R. McClanahan
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

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-14 Thread Craig R. McClanahan
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

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread 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

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread RXZ JLo
--- 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

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-13 Thread Cox, Charlie
-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

Re: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-12 Thread RXZ JLo
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

Re: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-10 Thread Craig R. McClanahan
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

RequestDispatcher scenarios ( was RE: static url routing)

2002-12-09 Thread RXZ JLo
--- 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

RE: RequestDispatcher scenarios ( was RE: static url routing)

2002-12-09 Thread Cox, Charlie
. 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

RE: static url routing

2002-12-07 Thread RXZ JLo
--- 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

RE: static url routing

2002-12-07 Thread Craig R. McClanahan
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

RE: static url routing

2002-12-06 Thread RXZ JLo
--- 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

Re: static url routing

2002-12-06 Thread Mike W-M
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

RE: static url routing

2002-12-06 Thread Noel J. Bergman
--- 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

RE: static url routing

2002-12-06 Thread Craig R. McClanahan
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

RE: static url routing

2002-12-04 Thread Noel J. Bergman
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