Describe three main types of JSP constructs: scripting constructs, directives, a
ID: 3561110 • Letter: D
Question
Describe three main types of JSP constructs: scripting constructs, directives, and actions. Describe three types of scripting constructs can be used to insert Java code into resultant servlet: expressions, scriptlets, and declarations. Do some research and post some examples.
Other Techniques for Creating Web Applications:
Java server pages is one technique for developing Web applications--the one that we will be studying this semester. There are many other techniques as well, such as using active server pages, PHP, Ruby on Rails and so on. If you have some experience with some other technique, share some of your experience using that method. Otherwise do some research on another technique and post your findings. If possible try to compare that technique with the use of JSP. Be sure to include citations.
Explanation / Answer
Scripting Elements
JSP scripting elements let you insert code into the servlet that will be generated from the JSP page. There are three forms:
1. Expressions of the form <%= expression %>, which are evaluated and inserted into the servlet
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.