A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Java Products and Servers
Joined: Mar 09, 2010
Mar 24, 2010 00:48:07
hello friends i am creating a file upload and download application.
i want to upload all files on my server. i am using
and it is in "/opt/Portique/liferay-portal-5.2.4/tomcat-6.0.18".
now i want to upload my files to the webapps directory of tomcat.
how can i get path of this tomcat server in
Joined: Mar 22, 2005
Mar 24, 2010 01:19:46
By "upload", do you mean via HTTP? If so, then the
context has the getRealPath method that returns the file system path that corresponds to a web app-relative URL.
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: server path...
save a file using jspsmartupload
Getting Installation Path of Webserver
Upload all the files in the directory to server
uploading files in JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013