i m using struts2.
i m creating war file of my application n i m reading property file into action class.
after deploying that war into tomcat webapps folder when i m trying to logged in for the first time it will give me exception -> "Null Pointer Exception" but when i m logging for second time it will logged in successfully.
why it will give exception for the first time? Is there any problem in .property file or something else..