wood burning stoves 2.0*
The moose likes JDBC and the fly likes problem with retiving data please help me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "problem with retiving data please help me?" Watch "problem with retiving data please help me?" New topic
Author

problem with retiving data please help me?

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 244

i am trying to access db and get details from a table using resultset object in jdbc code in httpservlet the code is and geting the form data


The s.o.p displaying the result
but my problem is when i try to get the attributes using JSTL in a JSp it is not showing that data.

My class has Employee constructor with parameters and i also added jstl libraries to lib folder
what is reason
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39478
    
  28
Sorry, don't know, but

. . . please use the code button and use spaces for indentation, not tabs. I have edited your post and you can see how much better it looks.

. . . and welcome to the Ranch
shree lk
Greenhorn

Joined: Mar 16, 2011
Posts: 14

check out database connection statements. I think you are missing some thing there...
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 244

shree kulkarni wrote:check out database connection statements. I think you are missing some thing there...


I checked it but there is no problem
The code in

showing the results but coming to add Arraylist object it's not working
mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 244

Campbell Ritchie wrote:

I have edited your post and you can see how much better it looks.

. . . and welcome to the Ranch

Thanksss
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39478
    
  28
You're welcome
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem with retiving data please help me?