Which of the following JSP expressions is valid? <%= request.getParameter(\"occu
ID: 3891528 • Letter: W
Question
Which of the following JSP expressions is valid?
<%= request.getParameter("occupation"); %>
<%= request.getParameter("occupation") %>
<%= String occupation = request.getParameter("occupation"); %>
<%= String occupation = request.getParameter("occupation") %>
None of the above
a.<%= request.getParameter("occupation"); %>
b.<%= request.getParameter("occupation") %>
c.<%= String occupation = request.getParameter("occupation"); %>
d.<%= String occupation = request.getParameter("occupation") %>
e.None of the above
Explanation / Answer
<%= String occupation = request.getParameter("occupation"); %>
Option c correct
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.