Oracle WebLogic Server Fundamentals
Casual Mode - Take your time!
1 / 20
Correct
0
Incorrect
0
Score
0%
Multiple Choice
What is wrong with the following code ? 4. <% 5. if(strPassword.equals("boss")) 6. { 7. <jsp:forward page="Welcome.jsp" flush="true"/> 8. } 9. else 10. { 11. <jsp:forward page="Login.jsp" flush="true"/> 12. } 13. %>
- Unmatched bracket in for statement
- Flush attribute must be false
- Keyword 'file' should be used instead of 'page' in the <jsp:forward/> action
- Actions cannot be used within scriptlet blocks