Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
HCL,
1088
What are the conditions applies to varchar variable, when using in procedures?
How are the elements of a gridbaglayout organized in java programming?
Can private method static?
What is spring jms?
What is the difference between static and non-static variables in java programming?
What is the need of hibernate tools when orm tools can be used?
What is import java util arraylist?
Explain the concept of root application context in spring mvc along with its loading process.
Why do we use spring?
How do I provide user credentials for starting weblogic server?
Can you start a thread twice in Java?
What is spring design pattern?
How does hashmap work in java ?
What is struts xml?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!