Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Java > Sample Java cod...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 26 of 81
Post > Topic >>

Sample Java code requested

by "Brad" <nospam@[EMAIL PROTECTED] > Nov 13, 2003 at 06:27 AM

Hi there all,

I am new to Java and am wondering if anyone can help me with posting some
sample code listings for the following.

I would like to be able to perform a SELECT statement against an Oracle
database, except passing in the value of my WHERE clause as a paramter to
the java program.

For Example:

java SimpleSelectJavaCode SMITH

which would perform a connection to the database and also a SELECT
statement
against Oracle something similar to ....WHERE ename = 'SMITH'


Ultimately, I'd like to have a JSP page taking the input from a HTML FORM,
and passing this to a java bean where the SQL statement is executed and
the
results returned to the browser.

Can anyone help me with this?

Thanks in advance.

Brad
 




 1 Posts in Topic:
Sample Java code requested
"Brad" <nosp  2003-11-13 06:27:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 14:07:50 CDT 2008.