wood burning stoves 2.0*
The moose likes JSP and the fly likes JSP and database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP and database" Watch "JSP and database" New topic
Author

JSP and database

amir thakur
Greenhorn

Joined: Jul 09, 2009
Posts: 11
Can any one help me out...

I am working on a project where i have to fetch all the data from the database (for exp: employee_name) and display it on the jsp
in such a way that there is a radio button in front of each employee_name also how can i send the data of one single radio button again to database to do some thing else.

kindly help me out.
thnks in advance...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Where's your code? What part are you having trouble with?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
amir thakur
Greenhorn

Joined: Jul 09, 2009
Posts: 11
thanks for your reply the problem is now rectify....
by me...

but there is another problem iam facing...

here's my code

here in above code iam geting the value of radio buttons which are coming from data base..
this code is running without any problem and show the value in the alert statment.
when i run it..
This whole code is in jsp page and i am using Javascript function for grouped radio button validation.
but now the problem is

how can i send the value of this var ch into an another JSP page...

what should i do before or after alert statement.

kindly reply me....

and again thanks for your previous reply.

Actualy iam a new person for this javaranch so iam not aware how to use it so ....
thanks for your guidence....
and also please guide me in future....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the button on your post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and database
 
Similar Threads
Radio button value with submit
How can i print selected radio button value
How to interact with database using servlet
get value from radio button
get value from radio button