| Author |
Hi i am trying to connect to postgresql database using struts 1.2..i have used datasource
|
maggie joseph
Ranch Hand
Joined: Dec 29, 2009
Posts: 185
|
|
Hi...i have read in forums that using datasource is not a good option...how can i connect to database using struts 1....i want to do it in both in Struts 1 as well as Struts2..
When i use datasource in my stuts-config.xml,i get an error
struts-config.xml
and my Action class:AddAction.java
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
Please SearchFirst. The same question has been asked several times before.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
maggie joseph
Ranch Hand
Joined: Dec 29, 2009
Posts: 185
|
|
but i didnt get an appropriate reply..i have read that its a bad style to use datasource now...
but can you tell me whether will i be able to acccess database using struts 1..i know we can in struts 2....using hibernate..
please reply
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
Did you read the FAQ entry I posted in the thread I linked to?
|
 |
 |
|
|
subject: Hi i am trying to connect to postgresql database using struts 1.2..i have used datasource
|
|
|