Java JSB Servlets Question and Answers
41. | What do you understand by JSP Actions? |
---|---|
JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters.
There are six JSP Actions are <jsp:include/> <jsp:forward/> <jsp:plugin/> <jsp:usebean/> <jsp:setProperty/> <jsp:getProperty/> |
|
42. | What do you understand by JSP Translation? |
---|---|
|
|
43. | What are the advantages of Cookies over URL rewriting? |
---|---|
|
|
44. | What is the difference between authentication and authorization? |
---|---|
Authentication is the process the application identifies that you are who. For example when a user logs into an application with a username and password, application checks that the entered credentials against its user data store and responds with success or failure. Authorization, on the other hand, is when the application checks to see if you are allowed to do something. For instance are you allowed to do delete or modify a resource. |
|