Question: HQL Query in execute method of Struts2
I am making login page in struts2 and using hibernate . Now I wants to pull user name and password from database and match the login password given by user.
But I am not able to fetch data from database using hql. And where I need to write the hql query. Is it possible to write it at execute method of struts2?