Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #20396

Re: POSTing to a servlet

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: POSTing to a servlet
Date 2012-12-17 02:46 -0800
Organization Canadian Mind Products
Message-ID <bpttc81it3k0b4gp0a2lhc5kqam9380e3b@4ax.com> (permalink)
References <e3d17f12-5b5f-4655-a596-402d66bcbf82@googlegroups.com>

Show all headers | View raw


On Thu, 13 Dec 2012 05:59:55 -0800 (PST), RVic <rvince99@hotmail.com>
wrote, quoted or indirectly quoted someone who said :

>org.apache.http.client.HttpResponseException: Moved Temporarily

Sounds like you got a 302. You can either chase the Location field
manually leg by leg till you get to where you want, or set some option
to ask the system to chase redirects for you without telling you about
them.

I do both in Brokenlinks. I don't use Apache though. I just use the
Sun classes wrapped in my own HTTP class, quite a bit simpler than
Apache. 
See http://mindprod.com/products.html#BROKENLINKS

Watch what is happening with Wireshark. It should come clear quickly.
See http://mindprod.com/jgloss/wireshark.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish 
as couch potatoes who hire others to go to the gym for them. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

POSTing to a servlet RVic <rvince99@hotmail.com> - 2012-12-13 05:59 -0800
  Re: POSTing to a servlet Arne Vajhøj <arne@vajhoej.dk> - 2012-12-13 19:50 -0500
  Re: POSTing to a servlet Roedy Green <see_website@mindprod.com.invalid> - 2012-12-17 02:46 -0800
  Re: POSTing to a servlet Lothar Kimmeringer <news200709@kimmeringer.de> - 2012-12-30 14:47 +0100
    Re: POSTing to a servlet Arne Vajhøj <arne@vajhoej.dk> - 2012-12-30 15:37 -0500

csiph-web