--- struts2 <[EMAIL PROTECTED]> wrote: > I don't want 2 getter/setter one in action and one > for hibernate pojo. I want to use the same for both.
Expose the POJO in the action and use the fieldnames in the JSP: <s:textfield name="user.username"/> etc. > 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? S2 can use Spring via the Spring plugin. http://struts.apache.org/2.x/docs/spring-plugin.html d. ____________________________________________________________________________________ Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]