Bookmark Topic Watch Topic
  • New Topic

NullPointerException for bean on a JSP page

 
ulvi ugur
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi All,

I use a jsp page with beans and receiving a NullPointerException when I call the page. It behaves like my bean ("localityJDBCTemplate") is not initialized. I thought it was done here :


Relevant lines from my code are below.

Example.jsp :

Beans.xml :



 
Paul Clapham
Sheriff
Posts: 21867
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
That looks like a duplicate of the question you asked yesterday. Please don't post duplicate questions.

For those that want to reply to yesterday's question, it's here: http://www.coderanch.com/t/665718/Spring/JSP-page-Bean-throws-NullPointerException

I'll close this copy.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!