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