Re: URL alias

2003-01-27 Thread Erik Price
Paul Phillips wrote: Just for convenience sake, I would like to make an alias for login purposes that looks something like: http://myhost:8080/webappname/login I can't figure out how to map that to my controller servlet AND at the same time include the parameter event=login. The

Re: URL alias

2003-01-27 Thread paul
Erik suggested: Why not create a filter -- map login to your filter (LoginFilter) and have the Filter intercept the request and add the parameter to the request before it calls the doFilterChain() (which means before it passes the request to the Controller). I thought about doing that, but

Re: URL alias

2003-01-27 Thread Igor I. Tovstopyat-Nelip
Probably, using a filter is an overkill in this situation. If you are sending a GET request, just extend your URL: http://myhost:8080/webappname/login?event=login . If you are posting from a form, you can include a hidden parameter with name=event and value=login. Igor TN On Mon, 27 Jan 2003,

Re: URL alias

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003 [EMAIL PROTECTED] wrote: Date: Mon, 27 Jan 2003 11:23:45 -0600 (CST) From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: URL alias Erik suggested: Why not create a filter -- map login to your filter (LoginFilter

URL alias

2003-01-26 Thread Paul Phillips
I have a web application that I have written that uses a controller servlet. The controller fires off event handlers that process the various forms submitted by the user in various parts of the webapp. I am also using container managed security (forms based). A typical URL will look like

Re: URL alias

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Paul Phillips wrote: Date: Sun, 26 Jan 2003 12:08:32 -0600 From: Paul Phillips [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: URL alias I have a web application that I have written that uses