I found this example in the App Engine documentation.
1 <%
2 UserService userService = UserServiceFactory.getUserService();
3 if (!userService.isUserLoggedIn()) {
4 %>
5 Please <a href="<%=userService.createLoginURL("/newlogin.jsp")>">log in</a>>
6 <% } else { %>
7 Welcome, <%= userService.getCurrentUser().getNickname(); %>!
8 (<a href="<%=userService.createLogoutURL("/")>">log out</a>>)
9 <%
10 }
11 %>
Regarding the </a>>
at the end of line 5 and line 8: Is that a typo?
If not, why is it supposed to be </a>>
instead of </a>
- which is what I expect.