It is not good programming to put any connection string or code on JSP.
Instead, those code should be encapsulated in either a servlet class or a
java bean.
To access Oracle database, simply use the DriverManager for that. I also
recommend you to download the Type 4 JDBC driver for this task.
Hope this helps.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 11, 2003 10:47 AM
Subject: help for tomcat
>
> Dear all,
> I am university student in sri lanaka. I want to setup tomacat to access
to
> oracle database.I installed oracle 8i database and apache-tomcat5.0.14 in
> window 2000 server.Both working individually well. I want to connect thro
> JSP page. What I have to do?
>
> Please tell the which file i have to configure. other wise specify the
websites.
> I ran with sample code but it say this error
> "org.apache.jasper.JasperException"
>
> please help me
> thanks in advance
>
>
>
> This message was sent using IMP, the Internet Messaging Program.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]