Problem
Which of the given statements are correct regarding the following
JSP page code?
<jsp:useBean id="mystring" class="java.lang.String" />
<jsp:setProperty name="mystring" property="*" />
<%=mystring%>
Assume that the request for this page contains a parameter mystring=hello.
Options
Select 1 correct option.
1. It will print "".
2. It will print "hello"
3. It will not compile.
4. It will throw exception at runtime.
The answer is 1 can some one tell me why is that?