How i write a function/method in jsp?

How i write a function/method in jsp?

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...

View Answers

November 16, 2011 at 5:45 PM

Please visit the following link:

http://www.roseindia.net/jsp/comboSelect.shtml


November 16, 2011 at 7:14 PM

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.









Related Tutorials/Questions & Answers:
How i write a function/method in jsp?
how to write jsps and databasetables,umldiagrams in fuelmanagement system project
Advertisements
JSP1
JSP2
how do i write a java program for this??
ModuleNotFoundError: No module named 'jspp'
ModuleNotFoundError: No module named 'JSPy'
how to create own tld and use it in jspx file
how to create own tld and use it in jspx file
How do I write a correct micro-benchmark in Java?
function method
How can i write a datagrid coding - Java Beginners
how can i write this program ?please suggest me
How do I write a program to manage an employee's business and personal contacts?
I have a tex box. in that i want user should enter data in the format specified(for eg--a_b_c_d_e_)how to write code for it.
How can I write a GUI stack program by Java to push Image files instead of other data type items?
how do i update my database with the help of update syntax in html <text/javascript>? How to write 'where' statement in this?
I need jsp code for how to write text field value into property file.
How to write image in Jmagick
function method
function method
How to write text on image
How to write Java Program
How to write in File in Java
how to write in xml? - XML
Can i write JavaScript code in AjaxResponse Code ?
How to write in File in Java
how to write to file at the end of the line
software or i have to write a code for this suff
How to write first example in Ajax?
how to write code for this output?
how to write and read text for javaME
How to Write to file in Java?
How to write javascripts - JSP-Servlet
how to write this program
How to write a loop and a while loop
Protect JSPs from direct access
how to write append file in Java
in string how will write the return statement..........?
How to write javascripts - JSP-Servlet
Write a program that replaces a, e, i, o, u in Java2
How to write calculator in J2ME program?
how to write servlet program in eclipse?
how to write store procedure in sql
How to write to file using FileOutputStream
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page
write data to a pdf file when i run jsp page
how to write java data - XML

Ads