diff mvc1 and mvc2
wahts is mean by servlet chaining?

Answer Posted / laxman

The response object from one servlet is passed as request to
another Servlet, this is called as Servlet Chaining.
the getServlet() method that is used in Servlet chaining is
deprecated and Sun's Javadoc specifies clearly that the business
logic to be shared by servlets to be put in a separate
non-servlet class. Also it would be good to put the
logic in separate class and just invoke the method
when required.
Cheers,
Gaya3

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why a component architecture for the java platform?

570


What is the difference between the ‘font’ and ‘fontmetrics’ class?

630


Is infobus easy to use?

596


How to pass parameters in RMI?

1684


What is jboss?

571






Where we can write Rmi registry in the code, without having to write it at the command prompt?

2252


What are the difference between RMI and CORBA?

619


Do we need to override service() method

1137


Can we sent objects using Sockets?

641


Why are my checkboxes not being set from on to off?

637


What is the difference between the string and stringbuffer classes?

539


how do you Handle Front End Application data against DB with example?

1473


What if the static modifier is removed from the signature of the main method?

700


To identify IDL language what mapping mechanism is used?

3411


How will you pass parameters in RMI? Why do you serialize?

684