954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

uploading

anyone , please help me , i want to upload pictures to server, . i am using apache tomcat server, where i want to save the uploaded files. help me plz.

Piuskutty
Newbie Poster
4 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

All depends on if that it is on local pc or provided with ftp access from web provider, but essencialy approach is similar.
For local instalation, locate your Tomcat instalation directory, go to webapps folder, then open your project to which you wish to add images for example MyProject and then you on top level for given project.
For hosted you need to access the server throught ftp, details of which your web provider should give it to you. In this case there is only one project so you get directly to the top level of project.

Once on top level (for both cases) I recommend for organisation reasons, you create new folder, you may name it img and copy&paste or upload your images.
If Tomcat running on Unix based system do not forget set up access permissions for images and also for folder if created

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

Peter, I think the OP wanted to upload the image from the website to the server similar to sites like YouTube where you can upload your videos.

PiusKutty, look into the Apache Commons' Fileupload module.

~s.o.s~
Failure as a human
Administrator
11,938 posts since Jun 2006
Reputation Points: 3,281
Solved Threads: 734
 

Peter, I think the OP wanted to upload the image from the website to the server similar to sites like YouTube where you can upload your videos.

PiusKutty, look into the Apache Commons' Fileupload module.


Well I can't read his mind, he just got what he asked for...

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

thank you very much

Piuskutty
Newbie Poster
4 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You