Click here to Skip to main content
15,896,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends,

i have developed window application to upload files through https.it was upload files using IIS virtual directory.But i need to upload through https.But the server doesnot contains IIS.it contain Tomcat only.so now i heared that using servlet,we can able to run the application in tomcat server.

now my question is how to connect window application with servlet?is it possible to use servlet?if possible means how to make connection between window application with servlet?the servlet need to run in server.

thanks in advance
Posted
Updated 9-Dec-12 22:08pm
v2
Comments
TorstenH. 10-Dec-12 3:03am    
YES.
But please explain some more - what kind of application, what kind of Servlet? please "improve question".
jai_mca 10-Dec-12 4:03am    
thanks for your comment TorestenH.i will improve question
jai_mca 10-Dec-12 4:09am    
refer the question
jai_mca 10-Dec-12 6:21am    
what friends???
no one ready to answer?

1 solution

Hello Jai,

A servlet is a Java programming language class used to extend the capabilities of a server. Although servlets can respond to any types of requests, they are commonly used to extend the applications hosted by web servers. They are the Java counterpart to non-Java dynamic Web content technologies such as PHP and ASP.NET. The servlet gets deployed in a Servlet Container such as Tomcat, just like ASP.NET page gets deployed in IIS or PHP page gets deployed in Apache HTTPD.

Having said that there is no special coding required to upload a file as far as client side is concerned. On the server side you must write a servlet implementation which will accept the uploaded file and store it somewhere may be on the local storage of server. Here [^] is a very good tutorial.

Regards,
 
Share this answer
 
Comments
bbirajdar 24-Mar-13 15:01pm    
Although late , I liked this answer to a vague question +5
Prasad Khandekar 24-Mar-13 15:09pm    
Thank's a lot.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900