Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A JSP Question  RSS feed

Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider the following entry in the web-application TLD and the JSP page snippet defined below. What will happen when the taglib has correctly been defined in the JSP page?

The correct answer is:
1. The ForwardTag will be executed as defined.
2. The TLD entry has not been correctly specified.
3. The JSP snippet is incorrect, compile time error.
4. The JSP snippet will ignore the body content.
5. None of the above

</tag>JSP page:
<% String s = "Forwarding"; %>

I answered 5. but the says its 3.
Is this a compile time error or translation time error???
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!