Please answer this question. Thanks Which of the following JSP expressions is va
ID: 3891338 • Letter: P
Question
Please answer this question. Thanks
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