How write the function/method in jsp?
Using that method i can retrieve the value coming from database. give me example plz.
Actually i want to show the list of user detail.
And the details come from different table and id is store in user table.
I hope you all understand my problem plz help me...
Please visit the following link:
Thanks for response to me but...
See I have some tabel in my database
User table with some fields like (userid, user name, address, stateid, cityid, departmentid).
State table with some fields like(stateid, statename).
Department table with some fields like(departmentid, department_name)
Now when I want to display all user list in my web page and like user's name, User's state name, user's address, user's department name.
Here I want to write the one method and show that method/function will return the state name and department name.
So How I write method/function in JSP?
Plz help me its urgent to me.