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









Related Tutorials/Questions & Answers:
Advertisements