Question: How can we done caching of servlet? How can we log out from a page? What is the difference between JspWriter & PrintWriter?
Answer: We can cache a servlet by using get method instead of using post method.<br>2)by using session.invalidate() we can remove the session object which is used mostly inorder to logout from a page<br>3)JspWriter is similar to PrintWriter.the JspWriter object is used to send output to the client and display in the brower.<br><br>The only difference is JspWriter is PrintWriter is mostly used in service method of servlets whereas JspWriter is used by the jsp compiler to create an out object(implicit obj) in the _jspservice method
Question:
How can we done caching of servlet? How can we log out from a page? What is the difference between JspWriter & PrintWriter? Answer:
We can cache a servlet by using get method instead of using post method.<br>2)by using session.invalidate() we can remove the session object which is used mostly inorder to logout from a page<br>3)JspWriter is similar to PrintWriter.the JspWriter object is used to send output to the client and display in the brower.<br><br>The only difference is JspWriter is PrintWriter is mostly used in service method of servlets whereas JspWriter is used by the jsp compiler to create an out object(implicit obj) in the _jspservice method Source: CoolInterview.com
can you tell me the steps for how to create and execute and run the Ejb simple stateless session application in websphere application server6.0 and Ide is RAD6.0