which method does the request use? HTTP 302 method: GET method: HEAD The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).
method:PUT method:POST If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Martin Gainty ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: rob_gar_...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: Connector set up > Date: Mon, 24 Aug 2009 02:03:08 -0500 > > > Hi, > > I need the intercept the calls (/*) to all webapps since these are actually > wap apps; many handsets cannot process properly the 302 redirect code, so I > need to deliver the final result of forward redirects to clients. > > I'm already able to process all follow redirects, I just need to put the > proxy in front of the web-apps. > > I cannot add Apache either, all I can do is to fix it from Tomcat > > Thanks a lot. > > > > > > > > Date: Sun, 23 Aug 2009 23:45:58 +0200 > > From: a...@ice-sa.com > > To: users@tomcat.apache.org > > Subject: Re: Connector set up > > > > Gerardo Corro wrote: > > > Hi, > > > > > > The purpose is to set-up an independent web-app as a proxy for other > > > webapps. I cannot touch the 6 original webapps, but I can do whatever I > > > want with the proxy one. > > > > > > How can I get all requests to any of these webapps be intercepted by the > > > proxy one? > > > > > There may be a way to do that, but it sounds quite complicated, and we > > do not understand your purpose in wanting to do that. > > Maybe if you explained exactly /why/ (*) you want to intercept the calls > > to those webapps, someone may be able to help. > > > > (*) meaning : to do what before you forward the call ? > > If it is just to change the URL, then again, look at the urlrewrite > > filter. Or use an Apache httpd in front of your Tomcat, with > > mod_rewrite and (mod_proxy or mod_jk). > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > _________________________________________________________________ > Share your memories online with anyone you want. > http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1 _________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.windowslive.com/Desktop/PhotoGallery