-
What are implicit Objects available to theJSP Page?
Implicit objects are the objects available tothe JSP page. These objects are created by Webcontainer and contain information related to aparticular request, page, or application. The JSPimplicit objects are:Variable Class Descriptionapplication javax.servlet.ServletContext The contextfor the JSP page's servlet and any Web componentscontained in the same application.config javax.servlet.ServletConfig...
-
-
-
What is the difference between and response.sendRedirect(url),?
The element forwards the requestobject containing the client request information fromone JSP file to another file. The target file can bean HTML file, another JSP file, or a servlet, as longas it is in the same application context as theforwarding JSP file. sendRedirect sends HTTP temporary redirect response tothe browser, and browser creates a new request to gothe redirected page. The response.sendRedirect...
-
What is the difference between and ?.
Both the tag includes the information from onepage in another. The differences are as follows:: This is like a functioncall from one jsp to another jsp. It is executed ( theincluded page is executed and the generated htmlcontent is included in the content of calling jsp)each time the client page is accessed by the client.This approach is useful to for modularizing the webapplication. If the included...
-
What do you understand by JSP Actions?
JSP actions are XML tags that direct theserver to use existing components or control thebehavior of the JSP engine. JSP Actions consist of atypical (XML-based) prefix of "jsp" followed by acolon, followed by the action name followed by one ormore attribute parameters.There are six JSP Actions: