InterviewSolution
| 1. |
How Method Is Declared Within Jsp Page? |
|
Answer» Methods can be declared for USE within JSP page as DECLARATION and this method can be invoked within any other method which is declared or within JSP scriptlets or expressions. Direct access to the JSP implicit objects like REQUEST, response, session etc is forbidden within JSP methods but implicit Java server page variable is allowed to pass as PARAMETERS to the method which is declared. Methods can be declared for use within JSP page as declaration and this method can be invoked within any other method which is declared or within JSP scriptlets or expressions. Direct access to the JSP implicit objects like request, response, session etc is forbidden within JSP methods but implicit Java server page variable is allowed to pass as parameters to the method which is declared. |
|