Hi all,
This question may seem rather unusual for many experienced
Java programmers, and I am not sure which forum this question fits best.
We have a custom-made CMS(content management system) which is based on PHP/MySQL and its front end is built with HTML/JavaScript. The CMS handles a lot of file-uploading and downloading between our web server and the remote clients.
We are a little frustrated for the limitation the html's ability in handling file uploads. To put it simply, it's too basic for us who want to do something more complicated. So, my manager was wondering how about building a Java desktop application/Java Web Start app and has it run on remote client? We want to discard the html/Javascript front end of the CMS and have the Java desktop app to act like a browser so that the app makes HTTP requests to the web server.
We've managed to write something that can send a POST request using a URL, but we are not too sure how to handle http headers and cookies for authentication purposes.
Are there any codes or simple tutorial we can take a look at? Advices on other things related to the above case/workaround would be appreciated too. Thank you very much for help.