Java EE - Interview Questions and Answers for 'Scriptlet' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Java EE - Interview Questions and Answers for 'Scriptlet' - 2 question(s) found - Order By Newest

 Q1. Difference between the jsp scriptlet tag and jsp declaration tag?Java EE
Ans. The jsp scriptlet tag can only declare variables not methods whereas jsp declaration tag can declare variables as well as methods.

The declaration of scriptlet tag is placed inside the _jspService() method whereas The declaration of jsp declaration tag is placed outside the _jspService() method.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     j2ee   jsp   scriptlet tag   declaraation tag   web application


Related Questions

  What is a config Object?
  What is a pageContext Object?
  What are the phases of the JSP life cycle ?
  What are JSP directives ? What are different types of directives ?
 What are JSP Scriptlets?
 How can we remove a JSP page from getting cached ?
 Ho do you share / transfer variables between JSP pages ?
 Difference between Include Directive and include action in jsp
 Difference between import and include directive in jsp


 Q2. What are JSP Scriptlets?
Ans. Scriptlet allow to write Java code inside JSP like following

<% Java Code %>

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     jsp  jsp scriptlet  scriptlet


Related Questions

  Difference between the jsp scriptlet tag and jsp declaration tag?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: