CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Can CODECHARGE handle this?

Print topic Send  topic

Author Message
Soulinger
Posted: 02/28/2002, 10:56 AM

Dear CodeCharge,

I need to use the following code to make a connection to an Oracle 8i
database using JSP.

<%@ page import = "java.sql.*" %>
<%
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@" ,"abc",
"def");
Statement stmt = conn.createStatement ();
%>

<!-- abc and def is the user name and the password that you use to login to
your home's oracle -->


Any ideas on how to use Codecharge to implement the new driver and to do the
page import section? Or is there an easier way to do this? Eventually I will
be running Oracle on a system running on UNIX so i can't use the Microsoft
Driver for Oracle Databases. Any help would be useful. Thanks!
I'd like to thank all CodeCharge programmers and regulars to this newsgroup
who have helped me so graciously during the development of my project. It is
so much appreciated!

Yours,
Soulinger

Alexey Alexapolsky
Posted: 03/01/2002, 2:40 AM

You can handle custom connection in Modules/Custom connection.

--
Alex
CodeCharge Developer


"Soulinger" <mimaclit69@hotmail.com> wrote in message
news:a5lug2$5fi$1@news.codecharge.com...
> Dear CodeCharge,
>
> I need to use the following code to make a connection to an Oracle 8i
> database using JSP.
>
> <%@ page import = "java.sql.*" %>
> <%
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> Connection conn = DriverManager.getConnection("jdbc:oracle:oci8:@" ,"abc",
> "def");
> Statement stmt = conn.createStatement ();
> %>
>
> <!-- abc and def is the user name and the password that you use to login
to
> your home's oracle -->
>
>
> Any ideas on how to use Codecharge to implement the new driver and to do
the
> page import section? Or is there an easier way to do this? Eventually I
will
> be running Oracle on a system running on UNIX so i can't use the Microsoft
> Driver for Oracle Databases. Any help would be useful. Thanks!
> I'd like to thank all CodeCharge programmers and regulars to this
newsgroup
> who have helped me so graciously during the development of my project. It
is
> so much appreciated!
>
> Yours,
> Soulinger
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.