I need to handle Login functionality to a particular site say www.abc.com. I had already registered to this particular site, hence can I give the username and password hardcoded in my application so that I can have connected to the server directly.
I need to handle Login functionality to a particular site say www.abc.com . I
Share
For Plain answer I would say Yes! , going into details there are many things to consider while making a java program for login many site needs HTTPs sessions and cookie handling, some also require JavaScript enabled browsers to handle login procedures. If you are making some kind of Robot App to login to that website and do some pre-assigned jobs. I would recommend you to consider using Embedded browser.
for Using browser in Java see http://djproject.sourceforge.net/ns/