•
•
•
•
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
![]() |
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,630
Reputation:
Rep Power: 12
Solved Threads: 311
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
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, JAVAWUG (Java Web User Group), Coding the Architecture
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.
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.
Happiness corrupts people.
Failing to value the lives of others cheapens your own.
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,630
Reputation:
Rep Power: 12
Solved Threads: 311
•
•
•
•
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
Publilius Syrus
(~100 BC)
LJC - London Java Community, JAVAWUG (Java Web User Group), Coding the Architecture
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Uploading Folder to FTP Server (Visual Basic 4 / 5 / 6)
- Uploading files Access Denied Error (ASP.NET)
- Uploading files onto the Web Server (ASP)
- Problems with internet uploading levels (Networking Hardware Configuration)
- Uploading Folders to Web in OSX.3.7 (OS X)
- uploading image in database (PHP)
- computer times out when uploading filles (Web Browsers)
- Uploading files using HTTP/X and CGI (Shell Scripting)
- uploading .txt file via phpmyadmin to Mysql (MySQL)
Other Threads in the JSP Forum



Linear Mode