(Choose 1 answer)
JSP Page Source <html>
Given the following JSP and tag handler code, what is the result of accessing the JSP?
<body>
<%@taglib uri="test_taglib" prefix="my Tag"%>
<% session.setAttribute("first", "first"); %>
<my Tag:TestTag/><br>
<%=session.getAttribute("second")%>
</body>
</html>
Tag Handler Code for <my Tag: TestTag />
package examples;
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
public class TestTag extends TagSupport
private PageContext pageContext;
public void setPageContext(PageContext page){this.pageContext=page;}
public int doStartTag() throws JspException
try{
{
String first-nageContext netSession() getAttribute("first") toString()
Exit 29