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


Please Help Members By Posting Answers For Below Questions

Is it possible to have a constructor inside the servlet?

733


What are important features of Servlet 3?

794


What is servlet attributes and their scope?

775


Explain Action Servlet?

810


What is java servlet?

787


What are the functions of Servlet container?

809


What are the exceptions thrown by servlets? Why?

835


What are the types of protocols supported by httpservlet ?

917


Difference between doget and dopost?

900


How to upload a file to the server using servlet?

726


What do you mean by deployment descriptor?

742


What is lazy loading and what is Generic Servlet Class?

809


explain the advantages of servlet life cycle?

736


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!

1993


What do you mean by session tracking and also explain its techniques?

671