Share on Google+Share on Google+

Mahesh Jagadale
How i write a function/method in jsp?
2 Answer(s)      5 years and 5 months ago
Posted in : JSP-Servlet

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

Ads

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.










Tutorials   
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values

Ads

 
Advertisement null

Ads