User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 456,596 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,441 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 865 | Replies: 4
Reply
Join Date: Sep 2007
Location: Dubai
Posts: 4
Reputation: Piuskutty is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Piuskutty Piuskutty is offline Offline
Newbie Poster

uploading

  #1  
Sep 6th, 2007
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.
Last edited by Piuskutty : Sep 6th, 2007 at 10:25 am.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,630
Reputation: peter_budo is just really nice peter_budo is just really nice peter_budo is just really nice peter_budo is just really nice 
Rep Power: 12
Solved Threads: 311
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: uploading

  #2  
Sep 7th, 2007
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
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, JAVAWUG (Java Web User Group), Coding the Architecture
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 7,012
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 25
Solved Threads: 368
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Lazy, Useless & Apathetic

Re: uploading

  #3  
Sep 7th, 2007
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.
Last edited by ~s.o.s~ : Sep 7th, 2007 at 1:31 pm.
I don't accept change. I don't deserve to live.

Happiness corrupts people.

Failing to value the lives of others cheapens your own.
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,630
Reputation: peter_budo is just really nice peter_budo is just really nice peter_budo is just really nice peter_budo is just really nice 
Rep Power: 12
Solved Threads: 311
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is online now Online
Code tags enforcer

Re: uploading

  #4  
Sep 7th, 2007
Originally Posted by ~s.o.s~ View Post
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...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, JAVAWUG (Java Web User Group), Coding the Architecture
Reply With Quote  
Join Date: Sep 2007
Location: Dubai
Posts: 4
Reputation: Piuskutty is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Piuskutty Piuskutty is offline Offline
Newbie Poster

Re: uploading

  #5  
Sep 8th, 2007
thank you very much
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JSP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 6:53 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC