-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Franck,
Franck Borel wrote: > i have a problem with an application that only accept GET requests. Now, > I would like to know, if there is any possibility to write a filter, who > is able to change the method from POST to GET. What do you mean by that? Do you just want to change the return value of HttpServletRequest.getMethod? You can certainly do that easily. Do you want to convert POST parameters to GET parameters? That is a bit tougher, but is possible. I'm not sure why you'd want to do this, since servlets do not really distinguish between GET and POST parameters -- the API abstracts that complexity away from your code. > I see that the FORM-Authentication could speek GET after authentication > with POST method. Is there anybody outwhere, who knows how this was done? Given that the Tomcat source code is available, you could always look in there for inspiration! - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG+mbZ9CaO5/Lv0PARApC0AJ4mqO0C9Z35plJvEyE+JJ6zuybO7QCeILmO a1/C4ydqfh8Ctgz1s5I0GWk= =dNzE -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]