Good night!
I'm following the example of the GETTING START for Appengine with Java
and I meet a problem:
This jsp don't compile:
________________________
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.google.appengine.api.users.User" %>
<%@ page import="com.google.appengine.api.users.UserService" %>
<%@ page import="com.google.appengine.api.users.UserServiceFactory" %>
<html>
<body>
<%
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
if (user != null) {
%>
<p>Hello, <%= user.getNickname() %>! (You can
<a href="<%= userService.createLogoutURL(request.getRequestURI())
%>">sign out</a>.)</p>
<%
} else {
%>
<p>Hello!
<a href="<%= userService.createLoginURL(request.getRequestURI())
%>">Sign in</a>
to include your name with greetings you post.</p>
<%
}
%>
</body>
</html>
___________________________
What I can making mistake?
Until here I'm compile all right, but when I put the jsp for load, it
don't compile.
Regards!!
MARCELO ANTONIO PEREIRA
+55 12 8144 6111
+55 12 8837 3855
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.