there's probably no way to do this, but i was wondering if java could login as a user to a website without opening a browser
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
there's probably no way to do this, but i was wondering if java could login as a user to a website without opening a browser
We have a program UltraCMS wich logs in into our website backend but its more a program that access the db and data the website uses.
A website uses servlets, but if there is no browser, just make a program that has access to the data.
Yes, you can write a program to do what a browser does without user intervention.
What would you do after the login?
Cross posted
login to website as user, no browser - Java Forums
db
download the pages and parse them with regular expressions, but i cant get to those pages without logging in, ill just be redirected to the login screen
Often after login, the server returns a cookie. You need to return that cookie with further requests after the login.
LOL
thank your Norm, i just came back to the forum to ask a question about the cookie because that's where i got stuck
tyvm