In struts2 for database configuration in struts.xml not working ,Kindly suggest the comments
I have tried following database configuration steps
<set-property property="username" value="sa" />
<set-property property="password" value="sa" />
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
As Mohana infers, datasource was removed from Struts after version 1.2.7. Struts 2 is a very different framework from Struts 1.x (it is actually based on another framework, XWork). The fact that you are attempting to use datasource in Struts 2 makes me think you haven't worked much with Struts 2. Here is a summary of the differences.