How to Upload file to apache tomcat using HttpClient class(Or any other way).
I dont want to write to a file but i want to copy image to tomcat directory(Uploading).
Can anyone have a code ?
You already found HttpClient, so you shouldn't have much trouble finding Apache Commons FileUpload. You will need to integrate that on the web server side.
I have found that class but i dont know functionality for the same.I want it to integrate in android application.
I want to upload images to tomcat directory.
The FileUpload page of the JavaRanch FAQ points to some material regarding the HttpClient and FileUpload libraries, and their respective web sites and documentation have more examples.
I think the Android API has a version of the HttpClient library built in, though, so you may not have to add that yourself.
I can't beleive you just said that. Now I need to calm down with this tiny ad:
Gift giving made easy with the permaculture playing cards