hi all,

i am trying to configure a same application with hibernate. I have a
login.jsp and login.java(action) class. right now i am using my action class
to check user name and password values entered by user against the one hard
coded in the clas. Now i want database connectivity with hibernate, No can
sumone please suggest me how should i proceed.

I don't want 2 getter/setter one in action and one for hibernate pojo. I
want to use the same for both. Now in struts2 we don't have action forma and
we put getter/setters in action class itself. Now how can i use the bean
class(pojo) to set the form values entered by the user and how do i can
configure that in servlet.xml. In spring we can do it in configuration file
by putting up the <command name> tag in xml, do we have something like that
in struts2 also?
-- 
View this message in context: 
http://www.nabble.com/proble-in-configuring-hibernate-with-struts-2-tf3471744.html#a9688449
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to