Please use the Struts user mailing list for asking questions like
this. Since you seem to be posting from Nabble, use the following
link:

http://www.nabble.com/Struts---User-f206.html

Phil

On 3/27/07, struts2 <[EMAIL PROTECTED]> wrote:

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? Please help...
--
View this message in context: 
http://www.nabble.com/proble-in-configuring-hibernate-with-struts-2-tf3471637.html#a9688162
Sent from the Struts - Dev mailing list archive at Nabble.com.


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




--
iDTV System Engineer
"Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live." - John F. Woods

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

Reply via email to