Finally I could get the things running.
The things are working when i specified into GlobalResources and GlobalContext
inside server.xml
My server.xml is something like below..
-
url
jdbc:microsoft:sqlserver://localhost
Oh! sorry, i did not make it clear. I do went thr this. Currently i am on
TomCat but live environment may not be. (I believe this is for TomCat ?? I
might be wrong ). I want to develop some generalised code which can be used on
any server.
Also in instructions MSSQL Database is not mentioned
Following link describes how to configure a DBCP connection pool and access it
using JNDI (for Tomcat):
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
BTW this link was sent to this mailing list at least three times
during the last week ;)
Pavel
On Thu, 20 J
Till now i am using simple JDBC call to connect to database inside struts. (I
created one class which returns connection ). I am thinking of shifting this to
DataSource Connection Pooling.
I saw few posts regarding connection pooling today, but as i am a beginner i
need some step wise instruct
4 matches
Mail list logo