Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #12121
| From | zigzagdna <zigzagdna@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: : how to supply login/password to a web site |
| Date | 2012-02-17 04:35 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <684df406-0054-4730-a290-178b901860aa@he5g2000vbb.googlegroups.com> (permalink) |
| References | <6ba6c81f-c538-4ce3-80fc-d943769a6fb0@t2g2000yqk.googlegroups.com> <4f3db890$0$291$14726298@news.sunsite.dk> <88fa6fed-0821-46d4-b693-9fd8243e91b3@eb6g2000vbb.googlegroups.com> |
On Feb 16, 9:47 pm, zigzagdna <zigzag...@yahoo.com> wrote: > On Feb 16, 9:16 pm, Arne Vajhøj <a...@vajhoej.dk> wrote: > > > > > > > On 2/16/2012 8:53 PM, zigzagdna wrote: > > > > I have a web site which I want to access from a java program. > > > Problem is web site requires a login and password. However web site > > > Does not provide in URL a way to specify login and password. > > > Is there any way in my java progam I can supply various key strokes > > > which I will > > > Type when I logon manually. > > > Typical the web site will use form based login. > > > In which case you will need to first send a POST to the > > action URL of the login page and then request the stuff you > > need using the session cookie you got back from the login. > > > I will strongly recommend Apache HttpClient over raw > > (Http)URLConnection. > > > I do have some examples on the shelf if you are interested. > > > And if it is a ASP.NET web side using view stat, then you > > will have some extra challenges. > > > Arne > > Thanks a lot for your expert advise, internet newsgroups are so > helpful.- Hide quoted text - > > - Show quoted text - I do have some examples on the shelf if you are interested. > Can you post your examples in this thread, else please send them to me at premmehrotra@homail.com. My yahoo mail is decatvated. Thanks a lot
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
: how to supply login/password to a web site zigzagdna <zigzagdna@yahoo.com> - 2012-02-16 17:53 -0800
Re: : how to supply login/password to a web site Roedy Green <see_website@mindprod.com.invalid> - 2012-02-16 17:59 -0800
Re: : how to supply login/password to a web site Arne Vajhøj <arne@vajhoej.dk> - 2012-02-16 21:16 -0500
Re: : how to supply login/password to a web site zigzagdna <zigzagdna@yahoo.com> - 2012-02-16 18:46 -0800
Re: : how to supply login/password to a web site zigzagdna <zigzagdna@yahoo.com> - 2012-02-16 18:47 -0800
Re: : how to supply login/password to a web site zigzagdna <zigzagdna@yahoo.com> - 2012-02-17 04:35 -0800
Re: : how to supply login/password to a web site Arne Vajhøj <arne@vajhoej.dk> - 2012-02-17 16:58 -0500
Re: : how to supply login/password to a web site zigzagdna <zigzagdna@yahoo.com> - 2012-02-18 08:30 -0800
csiph-web