Should I use redirect-action or dispatcher?

2008-03-12 Thread RajiR
Hi, After logging in am providing a hyperlink to the user to update his details.After clicking on that link,i need to forward to other new page with field values populated.So inorder to redirect it to a new page,should I use redirect-action or dispatcher and why?Is that type=dispatcher or

RE: How to Populate jsp with values in the database ?

2008-03-12 Thread RajiR
database access code at all. -Original Message- From: RajiR [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 10:58 PM To: user@struts.apache.org Subject: Re: How to Populate jsp with values in the database ? HI, I have inserted some values(userId,password,email

Re: Should I use redirect-action or dispatcher?

2008-03-12 Thread RajiR
Thanks for the informative reply newton.dave wrote: --- RajiR [EMAIL PROTECTED] wrote: So inorder to redirect it to a new page, should I use redirect-action or dispatcher and why? http://struts.apache.org/2.0.11.1/docs/redirect-action-result.html http://struts.apache.org/2.0.11.1/docs

How to Populate jsp with values in the database ?

2008-03-11 Thread RajiR
-- View this message in context: http://www.nabble.com/How-to-Populate-jsp-with-values-in-the-database---tp15998376p15998376.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: How to Populate jsp with values in the database ?

2008-03-11 Thread RajiR
as soon as possible..waiting for your replies eagerly... Thanks.. RajiR wrote: -- View this message in context: http://www.nabble.com/How-to-Populate-jsp-with-values-in-the-database---tp15998376p15998387.html Sent from the Struts - User mailing list archive at Nabble.com

Problem while reading applicationContext.xml file automatically in integrating struts2+springs2.5+hiberante3.2

2008-03-06 Thread RajiR
HI, I have injected springs into struts2 using applicationContext.xml file.While inserting records into database,am getting spring session by again loading applicationContext.xml file using a java class.Here is that java class: package service; import

Page field values becoming null while navigating to a new page

2008-03-04 Thread RajiR
Hi All, I have a login page with userId and password as its fields and its corresponding ActionClass-validation.xml file to validate the page.After logging in i have provided a link called updateProfile inorder to update the details provided by user during the time of registration by forwarding

Re: HOw to send form parameters to dao in struts2 with hibernate?

2008-03-02 Thread RajiR
of your action or you need to instantiate Spring using ClassPathXmlApplicationContext or one of the other Spring context objects. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: RajiR [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user

Re: HOw to send form parameters to dao in struts2 with hibernate?

2008-03-02 Thread RajiR
the field values in the page has become null and it is forwarding to that page i.e., userRegister.jsp(as input result is declared in struts.xml) even before calling my action method. why this happens?Any help...? Thanks.. RajiR wrote: Hi, I have a field in my jsp page to enter

Re: HOw to send form parameters to dao in struts2 with hibernate?

2008-02-28 Thread RajiR
to forum if struck up anywhere. sarat.pediredla wrote: RajiR, How is the service implementation layer being instantiated? The best way is to use the Spring plugin as defined at http://struts.apache.org/2.0.11/docs/spring-plugin.html to inject objects into your actions manage dependancy

RE: struts2+Spring+Hibernate Integration

2008-02-27 Thread RajiR
.. Looking forward to get a favourable hint.Plz reply as soon as possible. Thanks. Deepak Kumar wrote: Hi, Here is and application with example code http://www.roseindia.net/struts/hibernate-spring/index.shtml Thanks -Original Message- From: RajiR [mailto:[EMAIL

RE: struts2+Spring+Hibernate Integration

2008-02-27 Thread RajiR
nullpointerexception.I have used only hibernate.Is it required to use springs inorder to inject dao?Or,can I inject using hibernate and struts2 alone?? Replies pl Thanks. RajiR wrote: Hi, In the link provided below,it uses struts1+hibernate+spring.I have done tht and trying

HOw to send form parameters to dao in struts2 with hibernate?

2008-02-27 Thread RajiR
Hi, By implementing Preparable,ModelDriven,ServletRequestAware interfaces,am able to get the form details and sent those details to service implementation layer from an action class.From service implementation i have called dao.Since DAO is not injected any where in struts.xml,its throwing

Re: Struts2 connection pooling using MySQL

2008-02-21 Thread RajiR
://www.roseindia.net/struts/hibernate-spring/integrate.shtml helps in integrating struts1+hibernate+springs.But, since I would like to work with struts2+Hibernate+Spring,what modifications I have to do to satisfy my requirement?Since ation forms concept is not there in struts2...!!! Thanks. RajiR wrote: Ok,,thx

struts2+Spring+Hibernate Integration

2008-02-21 Thread RajiR
Hi, As struts2 comes along with spring integration with struts2-spring-plugin-2.0.11.jar,after starting the tomcat server its unable to load that jar and getting an exception as: SEVERE: Exception starting filter struts2 Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory

Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
Hi All, Since struts1 has connection pooling mechanism using data-source/ tag,what is the procedure of connection pooling mechanism in struts2? Can we do tht using bean class=/ tag?I have seen from some of the search results for oracle db using

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
, Nuwan. RajiR wrote: Hi All, Since struts1 has connection pooling mechanism using data-source/ tag,what is the procedure of connection pooling mechanism in struts2? Can we do tht using bean class=/ tag?I have seen from some of the search results for oracle db using

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
the problem is with how to configure the pool in the struts.xml?I think I am clear...!! Thanks. Jeromy Evans - Blue Sky Minds wrote: RajiR wrote: Can't we implement connection pooling in struts2 alone?If so ,may I know the reason please...!!! Thanks. Struts 2 itself doesn't provide

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
can use instead. Of course the prior reference to Spring is a good one to look into since Spring provides all sorts of help in configuring and using data sources and the database beneath them :-) L. RajiR wrote: Hi, In this link : http://dev.mysql.com/tech-resources/articles