How can store image in server folder when deployed with a .war file?

Ads
 

How can store image in server folder when deployed with a .war file?

Hi all;

When I am using application.getRealPath() , it return null when deployed with a .war file and when I use hard code it shows syntax error or path is invalid . But both these command working fine in localhost . So; please help me , if any one know the solution .

With regards Amrit

View Answers

Ads









Related Tutorials/Questions & Answers:
How can store image in server folder when deployed with a .war file?
how to store image in folder and stored image path in mysql database using JSP
Advertisements
How to store user name,city,state,image path into database and image into folder using jsp
how to store and then immediately retrieve when store the image into database?
How can I Convert my Image Files to Text Files? - IDE Questions
How to store image into database
i want to save image on server folder. and i want to save URL of this folder and name of image in database
how to download the uploaded folder files using jsp
how to backup files and folder with Java
How to store an image in database
How can I write a GUI stack program by Java to push Image files instead of other data type items?
How to copy an jpeg image from one folder to other folder using jsp
how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...
merge two war files
merge two war files
how to insert image into server
how to upload multiple files in jsp and saving the path in database and the file in folder
How to Store Image using JSF
How to store and retrieve image from database in JSP?
files that are present in any folder , how to make it clickable downloadble file in php
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
how can i run tomcat server and my home page come when i double click on an icon in servlets
How to copy an jpeg image from one folder to other folder using jsp
How to save image on the server by applet
How to save image on the server by applet
how can we store the encrypted passwaord in swings?
How to upload files to server using JSP/Servlet?
how can i open pdf file in assest folder in android application?
How To Store Image Into MySQL Using Java

Ads