.V
Erik Weber wrote:
Nishant, ojdbc14.jar is the only jar you need unless you are using an old version of Oracle. It belongs in $catalina_home (your Tomcat base directory)/common/lib, not in your web app's lib directory.
Erik
Nishant wrote:
hi,
i am using struts with tomcat server ...
my database is oracle and it is on some other machine on network.
on my machine oracle is not installed.
thus i am using odbc14.jar and classes12.jar in my lib directry of struts application..
in my struts-config.xml file the datasource is
<data-sources>
<data-source type="org.apache.commons.dbcp.BasicDataSource">
<set-property property="driverClassName"
value="oracle.jdbc.driver.OracleDriver" />
<set-property property="url"
value="jdbc:oracle:thin:@dthinsrv:1521:TCF" />
<set-property property="username"
value="thinc"/>
<set-property property="password"
value="thinc"/>
</data-source>
</data-sources>
but i am not sure that whether my database is conected or not ...
actually while firing query on database i am getting sql exception .......
i aint able to understand wht is the problem...
plz help
thanks in advance
Regards
Nishant Patil
Software Engineer
Cybage Softwares Pvt. Ltd. (A CMM Level 3 Company)
[EMAIL PROTECTED]
www.cybage.com
"There is difference between knowing the Path and walking on the Path"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]