New Servlets Interview Questions :: ALLInterview.com http://www.allinterview.com New Servlets Interview Questions en-us Which is better approach among four(HttpSession,cookie,URL Rewriting http://www.allinterview.com/showanswers/170377.html what is better approach or what is optional approach those are different things, HttpSession An Object Cookie An Object UrlRewriting Is An Object I Dont Think So And Hidden Fields IS AN object i am bit of confused Request.getSession(true/fals What is the difference between JspWriter and PrintWriter http://www.allinterview.com/showanswers/166753.html JspWriter is abstract class emulates some of the functionality found in the java.io.BufferedWriter and java.io.PrintWriter classes, however it differs in that it throws java.io.IOException from the print methods while PrintWriter does not My Question is that i am using &lt;image&gt; tag in my servlet and a http://www.allinterview.com/showanswers/163860.html u r trying wrong correct is <img src=""> I have a requirement Here we have a ResultSet object that will conta http://www.allinterview.com/showanswers/160965.html explain filters in java? http://www.allinterview.com/showanswers/160833.html filters are used to preprocessing and postprocessing of tasks like login,authorization,data compression,data encoding etc for this u need to override intit(),dofilter(),and destroy() Hello, My project requirement is like I need to create a web page http://www.allinterview.com/showanswers/159076.html hi actully i hav form columns with origin and destination names .as http://www.allinterview.com/showanswers/157222.html what is the difference between doGet() and doPost()? http://www.allinterview.com/showanswers/155208.html Hai doGet() method is the default HTTPServletRequest method. In this user entered data is appended to the URL as query String. It can send only limited amount of data. In doPost() method the user entered information as data and not appended to th why are extending GenericServlet and why are extending HttpServlet e http://www.allinterview.com/showanswers/155207.html interface servlet { 7 abstract methods } generic servlet extends servlet{ it override 6 above abstract methods except service method } httpservlet extends generic servlet { it hsa 7 methods and 2 service methods in this servlet what is the difference between servlets and struts? http://www.allinterview.com/showanswers/155206.html Struts is a tag framework used in .jsp, to simplify programming of often used servlet and jsp code. It's similar to JSF, or jsp tags, you include tag libraries, Struts libraries and .xml config files and then you can use tags in .jsp pages why are using HttpServlet in realtime projects and why are not using http://www.allinterview.com/showanswers/155205.html Generic servlet is a abstract class which is not implementing service() method,to serve the client requests service method has to execute. and also generic servlet is containing all general statements,and methods which are changing by protocol which method in doGet or doPost is use to send binary date to server http://www.allinterview.com/showanswers/151773.html doGet how can we execute servelt? what the use &quot;.war&quot; or &quot; http://www.allinterview.com/showanswers/150841.html I hope servlets are executed by adding the jar file to the folder .war files r used for extacting the sfwares Difference Between Web Server and Application server ?? http://www.allinterview.com/showanswers/150065.html 1.)Web server can provide only one webserver to perform the services in serverside , where as application server provides both web and application servers to provide the services. 2.)Web server provides clusturing very limitedly ,where as Applicatio Is JSP Thread Safe ???? How To make JSP thrad safe ????? http://www.allinterview.com/showanswers/150064.html Jsp is not a thread safe.in order to make jsp as a thread safe there is a attribute that is isThreadSafe="true"