File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP and database

 
amir thakur
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where's your code? What part are you having trouble with?
 
amir thakur
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic