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.h

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

2008-03-12 Thread RajiR
t. Your JSP > should not have 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 datab

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 "disp

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 N

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: [EMAI

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 org.springframework.context.

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
ns as userId and password as required,as all 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: >

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

2008-03-02 Thread RajiR
he service bean as a property 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 > > > >&

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 >

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 nullp

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 do

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 Mess

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 class:org.a

Re: Struts2 connection pooling using MySQL

2008-02-21 Thread RajiR
a.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: > &

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
> You don't need Struts2 to be able to do this for you, as there are > standard mechanisms you 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 datab

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
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...!!! >> >> T

Re: Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
pooling very easily. > > Thanks, > > Nuwan. > > > > RajiR wrote: >> Hi All, >> >> Since struts1 has connection pooling mechanism using >> tag,what >> is the procedure of connection pooling mechanism in struts2? >> Can we do tht

Struts2 connection pooling using MySQL

2008-02-20 Thread RajiR
Hi All, Since struts1 has connection pooling mechanism using tag,what is the procedure of connection pooling mechanism in struts2? Can we do tht using tag?I have seen from some of the search results for oracle db using class:oracle.jdbc.pool.OracleConnectionCacheImpl. But I need to