Nagarajan T - 2010-10-18

Hi,
I am using struts2 Framework. I implement the DBMessageResources concept which discribed in the link http://sourceforge.net/project/shownotes.php?release_id=320056&group_id=49385 .
In struts.xml file, i place the code
<message-resources
      factory="net.sf.reloadable.resource.messageresources.DBMessageResourcesFactory"
      parameter="java:comp/env/jdbc/myusersDS|SELECT messagekey, value from Messages where locale=?|300000"
      null="false" />
Error : The content of element type "struts" must match "(package|include|bean|constant)*"

How to implment this in struts 2.

  • thanks
    Nagu