• Post Reply Bookmark Topic Watch Topic
  • New Topic

Receiving error while starting application

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir

I am new to JSF and i have just created a Hello World application , i am using Tomcat 5.5 and jdk1.5.

I have all necessary Api's and when i run my application and in my jsp in write the line <f:loadBundle basename="com.abc.messages" var="msg"/> and run my jsp it will give error .......

Sep 8, 2006 2:14:25 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.java:96)
at org.apache.jsp.inputname_jsp._jspx_meth_f_loadBundle_0(org.apache.jsp.inputname_jsp:96)
at org.apache.jsp.inputname_jsp._jspService(org.apache.jsp.inputname_jsp:59)

Could you please tell me that what to do , i have put my properties in com.abc package.

Thanks
Gaurav
 
Rick Beaver
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your file called messages.properties?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!