How do you pass the data from one servlet to another
servlet?
Answer Posted / tushar
these above solution transfer the content from servlet1 to servlet2, but what if we want to do some other processing after it.
Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
Is it possible to have a constructor inside the servlet?
What are important features of Servlet 3?
What is servlet attributes and their scope?
Explain Action Servlet?
What is java servlet?
What are the functions of Servlet container?
What are the exceptions thrown by servlets? Why?
What are the types of protocols supported by httpservlet ?
Difference between doget and dopost?
How to upload a file to the server using servlet?
What do you mean by deployment descriptor?
What is lazy loading and what is Generic Servlet Class?
explain the advantages of servlet life cycle?
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!
What do you mean by session tracking and also explain its techniques?