This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Uploading file from Tomcat-Aoache server to IIS web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading file from Tomcat-Aoache server to IIS web server" Watch "Uploading file from Tomcat-Aoache server to IIS web server" New topic
Author

Uploading file from Tomcat-Aoache server to IIS web server

Ashutosh Tripathi
Greenhorn

Joined: Sep 02, 2003
Posts: 1
In my application which is a simple java/jsp application running on Tomcat-Apache, I have to upload a file on another web server which is a IIS server.
As of now I am using java.net.* package which has JarUrlConnection class, through this i am able to get the connection to the IIS server and even it is able to locate the directory/zipfile in the IIS server. but when i am trying to read the file byte by byte it gives a SocketTimeoutException....any idea how this can be resolved???
Or else Tell me how to achieve this upload from Tomcat to IIS functionality???
narasimharao konjeti
Ranch Hand

Joined: Apr 26, 2003
Posts: 130
check with scope of the socket object.
regards
nrkonjeti


"Unwise to sweat petty stuff, wise to pet sweaty stuff."
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Uploading file from Tomcat-Aoache server to IIS web server
 
Similar Threads
Configuring Tomcat 4 with IIS 6
How to upload file to Apache web server
Question on Tomcat workers.properties file
how to upload jsp web application on the windows 2003 server
uploading files in JSP