Tag: web technology
Questions Related to web technology
Which of the following tags is used to set the timeout interval for HttpSession?
Which of the following is used to define a Listener for HttpSessionListener class in Web Deployment Descriptor?
Which of the following listener(s) will be called when a Servlet Container initializes a Web Application?
Imagine that you want to set the inactive time for a particular servlet to 10 minutes. Which of the following is the preferred way to do it?
Assuming that you are developing a Web Application called 'myApp'. You have a file called secret.txt which is part of the original Application, but you don't want your clients to gain access to it. What is the preferred way to do this?
Which of the following methods can be used to retrieve all the attributes names from ServletContext?