aspose file tools
The moose likes Servlets and the fly likes check box followed by a table name Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "check box followed by a table name" Watch "check box followed by a table name" New topic
Author

check box followed by a table name

Chitti pokala
Ranch Hand

Joined: Jan 11, 2005
Posts: 46
Hi
I want to know how to write a servlet for displaying the checkbox followed by the table names that are created in the database. And I want to know how to connect to Oracle database using WSAD.........

Thanks,
-Chitti
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I would start by going to the Websphere forum to find out what the best practice for connecting to a database is (what connection pool options are availabe in that app server etc..) or, better, reading the server's documentation.

Then I would follow a few JDBC tutorials to find out how to extract the data you are looking for from the database. There is a JDBC forum on this site if you get stuck on anything.

From there, it's just a matter of writing the data as HTML.
In servlets, this is done by getting a printWriter and calling it's println(String) method.



Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Chitti pokala
Ranch Hand

Joined: Jan 11, 2005
Posts: 46
I want to display for 10 tables

For Example:

chebox(1) TableName(1)
chebox(2) TableName(2)
.
.
.
chebox(n) TableName(n)

Please let me know how to do this. Because I am new this concepts.........

Thanks..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

Because I am new this concepts.


Then following Ben's advice of reading through some tutorials is your best bet. You need to understand the fundamentals of the underlying technologies and start writing some code of your own. You will be able to get lots of help in these forums with any troubles you may encounter. But only if you start by writing the code yourself.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: check box followed by a table name
 
Similar Threads
Table space
Database configuration in JBoss
the usage of dataTable tag?
servlet with a databse
how can i fire update query in struts?