• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic