InterviewSolution
Saved Bookmarks
| 1. |
Define Scriptlet, Expression and Declaration in JSP? |
|
Answer» A JSP expression is used to put the Java values directly into the output. It has the FORM of <%= Java expression %>. JSP scriptlets are more than the simple expression and used to insert complex code into the service() method of the GENERATED servlet. Whereas, a JSP DECLARATION defines fields or methods that get inserted into the main body of the servlet class. |
|