Do you know what the error says when you hover over the X? Could just be Eclipse weirdness.
Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine On Tue, Mar 1, 2011 at 8:05 AM, Aisthesis <marsh...@marshallfarrier.com>wrote: > i'm just trying to learn how the app engine works and was working > through the tutorial. in the guestbook.jsp version, using eclipse, i > started off with some actual errors (missing quotation mark, missing > space) but after getting enough of those corrected that the program > does run in my browser, i still get the "x-file" sign in eclipse next > to the guestbook.jsp file, and it hasn't gone away after repeated > cleans. > > here's my file: > [code] > <%@ 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> > [/code] > > is there still something wrong with it? and, if not, any ideas as to > what might be causing the eclipse error symbol? > > -- > 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 > google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.