hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <mbe...@gmail.com>
Subject Re: Submit Form
Date Fri, 09 Sep 2005 12:49:59 GMT
HtmlUnit might also be helpful.  It makes use of HttpClient and adds
an extra layer of things like foms, tables, etc.

Mike

On 9/8/05, Jeremy Whitlock <jcscoobyrs@gmail.com> wrote:
> Gustavo,
> I see your point. Live Headers did show me the full POST and that is why I
> think I may already be on the right track. Since you answered the real
> question, regarding and API for Form interaction, this thread is finished.
> Thanks for your help, Jeremy
> 
> On 9/8/05, Gustavo Hexsel <ghexsel@sagebrushcorp.com> wrote:
> >
> > I'm not sure I understand. That particular page has a reasonably large
> > set of hidden "input" tags which probably should be posted along with
> > username and password.
> >
> > I don't believe there is an API with forms and inputs. It wouldn't make
> > that much sense IMHO, as the abstraction is a little different in
> > HTTPClient.
> >
> > Also, I don't know if Live Headers displays the POSTed data. It helps a
> > lot if you see exactly which fields are sent on any request. If you're
> > using Win, you can get MS Stress Tool for free. It's crappy, doesn't work
> > with SSL, and only integrates to IE, but it does the job for 90% of the
> > cases.
> >
> > []s Gus
> >
> >
> >
> > -----Original Message-----
> > From: Jeremy Whitlock [mailto:jcscoobyrs@gmail.com]
> > Sent: September 8, 2005 12:46 PM
> > To: HttpClient User Discussion
> > Subject: Re: Submit Form
> >
> >
> > Gustavo,
> > I'm learning more about it now. I've used Mozilla's Live Headers to trace
> > the request/response so that I could have a better handle of what I was
> > doing wrong and I *may* have it. I guess my question was vague but is
> > there
> > a way to create a form object or something, fill in it's inputs then
> > submit
> > instead of doing a POST/GET to do this? That was more along the lines of
> > the
> >
> > question I meant to ask. Take care, Jeremy
> >
> > On 9/8/05, Gustavo Hexsel <ghexsel@sagebrushcorp.com> wrote:
> > >
> > > Have you tried it? What happened?
> > >
> > > -----Original Message-----
> > > From: Jeremy Whitlock [mailto:jcscoobyrs@gmail.com]
> > > Sent: September 8, 2005 11:54 AM
> > > To: HttpClient-User
> > > Subject: Submit Form
> > >
> > >
> > > Hey all,
> > > I've googled for my specific need and come up empty so here I am. I need
> > a
> > > way to login to this page:
> > >
> > > https://www.projects.dev2dev.bea.com/servlets/StartPage
> > >
> > > and retrieve the page after logging in. What I'd like to do is fill in
> > the
> > > two text boxes and submit. Since this is done via Page Flows, I'm not
> > sure
> > > if the usual approach via NameValuePairs will help. Is this possible?
> > Take
> > > care, Jeremy
> > >
> > > --
> > > He who listens well, speaks well.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> > --
> > He who listens well, speaks well.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> >
> >
> 
> 
> --
> He who listens well, speaks well.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message