What is difference between HttpServlet and GenericServlet. and when to use and why. what is the importance of each.
What factors effects on selecting a technology. In deatail, A customer came with SRS, how to select a technology (java,.net,c,c++) to develop a application?
Latest Answer: Yes we can declare class level variable in a servlet but we can also use it in the class but as we know taht it is not in our hands to make the instaniate a servlet so cannot use that class level variable by instaniating ...
Latest Answer: servlet lifecycle consists of 5 methods but most of the time it concentrates only on three methods .Those methods are init(ServletConfig config) service(ServletRequest req,ServletResponse res) ...
Latest Answer: MVC Describes that each part of responsibiltiesM-Model is responsible for business process and business dataV-view is responsible for response content to dispatch the clientC-Controller is responsible for to control the requset and response In MVC1, Model ...
Latest Answer: The question should be like - What is the difference between
requestdispatcher.forward and response.sendredirect?
The response will not be sent back to the client and so the client will not
know about this change of resource on the server.
for ...
Latest Answer: doPUT: The PUT method is a complement of a GET request, and PUT stores the entity body at the location specified by the URI. It is similar to the PUT function in FTP.doDELETE: The DELETE method is used to delete a document from the server. The document ...
Latest Answer: If the servlet implements SingleThreadModel interface then many instances of that servlet can be created by the Container otherwise,(i) If the web application is a distributed webapplication then each JVM will have only one servlet instance no matter ...
Latest Answer: Yes , of course you can use the constructor instead of init().There’s nothing to stop you. But you shouldn’t. The original reason for init() was that ancient versions of Java couldn’t dynamically invoke constructors with arguments, so there was no way ...
Can a webcontainer creates another cookie eventhough we r set the maxage of already created cookie while sending second request within period of setmaxage of that cookie
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top