Hello Ranchers;
In following example i tried this code and while deploying this code in
jsp i found there was nothing on that page....
That means answer shoud be
2...But answer for following question is given as
4 I found the same issue in different mock
test so if i et this type of question in exam then what to answer...
What will be the result of this jsp line if the user takes a look at the page source code?
<!-- Today is <%= new java.util.Date() %>.Hava a nice day -->
1) It won't compile
2) The user won't see the comment
3) The user will see the same jsp line as above
4) The user will see the comment with the current date because the expression is evaluated at runtime.
Regards;
Brijesh