📚 Practice Mode
Oracle WebLogic Server Fundamentals
Learn at your own pace with hints and detailed explanations
1 / 20
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