Hi frnds iam new to Java Kindy any one can provide or me
Servlets Example code and can explain to me flow of servlets
and as Jsp and Struts and provide to me some sample example
on these 3 topic flow,code example,and tutorials,and related
websites which i can refer....thanks in advance..........
Answer Posted / tej kumar
Hai Friend...
As you are new to Java World.
For tutorials on Java, go through roseindia.net.
Good Luck..Bye
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
When a servlet accepts a call from a client, it receives two objects. What are they?
What if we pass negative value in load-on-startup?
What is cookie? Why is cookie used?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
Explain the lifecycle of a servlet?
Why filter is used in servlet?
Is it possible to have a constructor inside the servlet?
What are the mechanisms used by a servlet container for maintaining session information?
Explain the different ways for servlet authentication?
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!
How do you run a servlet?
What if you need to span your transaction across multiple servlet invocations?
Define declaration.
Why do we use sendredirect() method?
What is generic servlet class?