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
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
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
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
--
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
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.
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
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:
>
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
>
>
>
>&
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
>
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
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
..
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
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
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:
>
&
> 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
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
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
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
19 matches
Mail list logo