Latest Answer: Simple java programs are stand alone application and in this case we have to specify the starting point of execution for interpreter but servlets are server side tech and based on client request. Whenever client send a request, webcontainer calls servlet ...
Latest Answer: HttpSession is logged is user specific. You can't access across the users.But application session (static) variables can be accessed across the users in the application.HttpSession variable life time depends on the httpsession inactive time set in ...
Latest Answer: In jsp declarations we can declare methods and variables
Latest Answer: To display the type of exceptionone.jsperrorpage.jsp ...
Latest Answer: buttons are not disabled but when you click on them action is not performedif you have no common .js file for all pages include follwing in all jsp pageswindow.history.forward(1); ...
Latest Answer: We can use main method in Jsp/servlet, but there is no use. This main() method will not execute throughout the life cycle. Then why should we need to use.Generally these JSP/Servlets are server side technologies.These will be executed under webcontainer ...
Latest Answer: You can achieve this by setting a negative value for the max inactive interval for the session. Here is the code:HttpSession session = request.getSession(true);session.setMaxInactiveInterval(-1); ...
tags
Latest Answer: There is a slight difference in the valid values for the body-content element in J2EE 1.3 vs 1.4.In J2EE 1.3, the valid values are "empty", "JSP" and "tagdependent". "empty" indicates a tag without body. "JSP" ...
Latest Answer: by implementing single thread model we can make thread safe .Due to this it will create one instance per thread or request ...
Latest Answer: Yes while retreiving each element cast it to the respective type... ...
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top