In a website, I need to log on and then navigate to a page where an applet loads. I then to upload a file to that applet, which then zips it up and sends to the server.
I am building a swing desktop application that prepares the content to load to the server. To make it easy for the user, I would like the user to just prepare the content and with a click of a button, transfer the content to the clipboard. After which, I'll log on to the website and open the page that has the applet on it. He then needs to do a Ctrl+V on that applet and the content will go to the database.
Using Apache HTTP Client I have logged on to the website. After this, I understand, that I cannot go any further, because of the applet. So I need to transfer the logged on session to the browser - Internet Explorer or Firefox, which ever is the system default. How do I do that? Any ideas?
I know this is not the correct design. I dont have access to direct calls to the server via APIs or the web services it might be using. I understand that if the website changed due to any reason, this wont work... Blah Blah Blah..
But still, is there a way to do this?
subject: Use Apache client to logon and then transfer flow to web browser