Hi i need to get a properties file on application load up in my login jsp. Currently I am using request.getRealPath for this. But this is a dprecated method. However when the application is in expanded form, it seems to work just fine. But when I create a WAR file. The application is unable to get the path and thus unable to read the file. The application thus crashes at the very begining itself when deployed using a war file. How can it be resolved?
View All Comments
| View Tutorial