wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Use Apache client to logon and then transfer flow to web browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Use Apache client to logon and then transfer flow to web browser" Watch "Use Apache client to logon and then transfer flow to web browser" New topic
Author

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

Sethuraman Ramasubramanian
Greenhorn

Joined: Apr 26, 2009
Posts: 7
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use Apache client to logon and then transfer flow to web browser
 
Similar Threads
File outside war
HttpUnit and Ajax enabled submit buttons
Again back button wiht logout link
Change file name on generated download file
servlet mapping clarification