application can access by login in web site
- From: nova1427@xxxxxxxxx
- Date: 28 Feb 2006 08:11:39 -0800
Hi all,
Please help me as possible you can.
I will build java application that can access to web site that has
username and password (login)
the program can view sourse for page after login
URL myurl= new URL("http://....");
URLConnection uc = myurl.openConnection();
/*
it should be here access login
username="name";
password="*******";
after submit, new page will apear
I want this new page
URL myurl2 = new URL("http://new page");
URLConnection uc2 = myurl.openConnection();
*/
BufferedReader in = new BufferedReader(new
InputStreamReader(uc2.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
Is there any code will help me
Regards;
nova
.
- Follow-Ups:
- Re: application can access by login in web site
- From: Roedy Green
- Re: application can access by login in web site
- Prev by Date: Re: Help in Persistence Funda
- Next by Date: cookie + session + data save
- Previous by thread: Auto Updating an App
- Next by thread: Re: application can access by login in web site
- Index(es):