This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading file from Tomcat-Aoache server to IIS web server

 
Ashutosh Tripathi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check with scope of the socket object.
regards
nrkonjeti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic