开发者

Simple FileChooser application for tomcat server?

开发者 https://www.devze.com 2023-02-03 00:18 出处:网络
I have installed a Tomcat 5.5 server on a remote linux machine. I would like to create a simple webpage/application where a user can p开发者_JAVA技巧ress a button and then a FileChooser box pops up w

I have installed a Tomcat 5.5 server on a remote linux machine.

I would like to create a simple webpage/application where a user can p开发者_JAVA技巧ress a button and then a FileChooser box pops up which allows him to specify a file on his local machine that he can then upload to the webapps folder.

When the file is uploaded a simple script should be executed doing some predefined operations on the file.

Are there any tutorials for creating such a small tomcat uploader webpage?


This is not as trivial as it seems. However, you may want to have a look at manager application that comes with tomcat. It provides an ability to deploy, undeploy and re-deploy web applications dynamically.

http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html

0

精彩评论

暂无评论...
验证码 换一张
取 消