dongyi5070 2013-05-11 08:31
浏览 59

使用Java Client和PHP Web后端服务器上传文件

Hi i am stuck with one of my project requirement and i am seeking some guidance on the same. So my project is as follows:

I need to create a client using java program to upload a file to the Web backend server. I should use php programming language to design and implement a web backend server that will enable the Java client side program to upload a file and save at the web server.

I am almost done with the project as i have created a client side java program which uses the php file to upload the file.. Currently i have to run java class file from the console and give the path as parameter and the file gets uploaded in the specified folder in backend server.

Now i am stuck while creating a GUI..From a users perspective, i need to have a html form which allows the users to browse for a location and the user selects the file and that path should go as an parameter to my java client.. How should i achieve this...should i have to use a jsp file in my html form?? If yes,then how to call java class file from jsp?? I have no knowledge on java servlets. do i have to use that? Any suggestions on how to create a UI for my Java client will be helpful!!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c程序不知道为什么得不到结果
    • ¥40 复杂的限制性的商函数处理
    • ¥15 程序不包含适用于入口点的静态Main方法
    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置