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!
No Answer is Posted For this Question
Be the First to Post Answer
Whether thread can be used in servlets?
What is use of parseQueryString ?
How can a servlet be used to generate plain text instead of html?
Why session tracking is needed?
What are the different mode that servlets can be used?
How servlets can be automatically reloaded?
How can we include static files in the jsp page?
What do you mean by httpservlet?
Explain how to improve Servlet Performance?
How can you maintain servlet chaining?
How to work with Chinese login page (internationalization).if he enters user name and password in chinese, how is it converted to English and validate in db? And in reverse it should display welcome message in Chinese,if user is valid
Why are servlets used?