Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java VB.NET
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 9-Dec-12 19:51pm
jai_mca1.1K
Edited 9-Dec-12 23:08pm
v2
Comments
TorstenH. at 10-Dec-12 3:03am
   
YES.
But please explain some more - what kind of application, what kind of Servlet? please "improve question".
jai_mca at 10-Dec-12 4:03am
   
thanks for your comment TorestenH.i will improve question
jai_mca at 10-Dec-12 4:09am
   
refer the question
jai_mca at 10-Dec-12 6:21am
   
what friends???
no one ready to answer?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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,
  Permalink  
Comments
aspnet_regiis -i at 24-Mar-13 15:01pm
   
Although late , I liked this answer to a vague question +5
Prasad Khandekar at 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)

  Print Answers RSS
0 Marcin Kozub 265
1 Richard MacCutchan 239
2 OriginalGriff 208
3 Sergey Alexandrovich Kryukov 185
4 Praneet Nadkar 167
0 OriginalGriff 7,913
1 Sergey Alexandrovich Kryukov 7,232
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,865


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 24 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100