RE: Redirect and Tomcat

2003-01-30 Thread Daniel Brown
:[EMAIL PROTECTED]] Sent: 30 January 2003 16:01 To: Tomcat Users List Subject: Re: Redirect and Tomcat Paul Yunusov wrote: Roman, The HTTP1.1 spec says the client should follow the redirect only if the method is GET or HEAD, so check that. Pardon for butting in, but does

Re: Redirect and Tomcat

2003-01-30 Thread Erik Price
Daniel Brown wrote: This was news to me too. But, from the horse's mouth: [...] So, in theory, you should generate a 303 response if the request method was POST, and the web page you're redirecting to should be retrieved with a GET. But in practice, the web browser will do just what you

Re: Redirect and Tomcat

2003-01-30 Thread Paul Yunusov
On Thursday 30 January 2003 11:34 am, Erik Price wrote: Daniel Brown wrote: This was news to me too. But, from the horse's mouth: [...] So, in theory, you should generate a 303 response if the request method was POST, and the web page you're redirecting to should be retrieved with a

Re: Redirect and Tomcat

2003-01-30 Thread Jon Eaves
Hi all, And just to follow up on that, you should always serve your login page under SSL as otherwise the bad guys can change the FORM action parameter and use it to grab your usernames and passwords. So, the initial GET to grab the login page can trigger the http-https redirect rather than

RE: Redirect and Tomcat

2003-01-29 Thread Filip Hanik
not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that -Original Message- From: Roman Shpak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Redirect and Tomcat How can I resolve

Re: Redirect and Tomcat

2003-01-29 Thread Roman Shpak
30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another without any program code in servlet or jsp. Why? It needs for forward

Re: Redirect and Tomcat

2003-01-29 Thread Paul Yunusov
On Wednesday 29 January 2003 07:52 pm, Roman Shpak wrote: 30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another