M
Marco
Hi to all!
I have an Apache Tomcat 5.0.19 Server installed on a machine in my network
(ip address: 192.168.0.211, port 8080)
I've a Servlet running on it. FileUploadServlet uses "FileUpload package" from
Apache Jakarta Project (see: http://jakarta.apache.org/commons/fileupload/), in
order to implement Upload services
I'm able to call this Servlet from a jsp test page: FileUploadServletTest.jsp
is on 192.168.0.211 and I can call it from any machine in my network, calling
http://192.168.0.211:8080/UploadTest/FileUploadServletTest.jsp
The Servlet works fine!
Now: I want to call this Servlet from a java class. This class is called
UploadStockFile.java and is part of a standalone Swing-based java program.
This program is running on a machine in my network (ip: 192.168.0.112)
How can I do this? How can I call this servlet from a java class?
Any idea greatly appreciated
Thanks and sorry for bad english
Bye
Marco
I have an Apache Tomcat 5.0.19 Server installed on a machine in my network
(ip address: 192.168.0.211, port 8080)
I've a Servlet running on it. FileUploadServlet uses "FileUpload package" from
Apache Jakarta Project (see: http://jakarta.apache.org/commons/fileupload/), in
order to implement Upload services
I'm able to call this Servlet from a jsp test page: FileUploadServletTest.jsp
is on 192.168.0.211 and I can call it from any machine in my network, calling
http://192.168.0.211:8080/UploadTest/FileUploadServletTest.jsp
The Servlet works fine!
Now: I want to call this Servlet from a java class. This class is called
UploadStockFile.java and is part of a standalone Swing-based java program.
This program is running on a machine in my network (ip: 192.168.0.112)
How can I do this? How can I call this servlet from a java class?
Any idea greatly appreciated
Thanks and sorry for bad english
Bye
Marco