Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HibernateDaoSupport not compatible with JSON

Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm developing an application using SPRING + STRUTS2 + HIBERNATE

with that i want to use the struts2-jquery plugin.
I am getting an error when i try to populate the plugin <sj:select> element directly from my BO class.
BO class contains my hibernate connectivity login.
BO class extends the HibernateDAOSupport.
The return type in the struts.xml file for the particular action that <sj:select> element of the plugin uses returns result type "json"

this is the error that i'm getting ...

this is the jsp page that contains the tags

this is the action mapping

the BO and BO Impl class

this is the session factory bean in the aplicationContext.xml

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic