This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Use Apache client to logon and then transfer flow to web browser  RSS feed

Sethuraman Ramasubramanian
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!