I also have the same problem and i do have the jdk1.6 installed. If i copy the guestbook.jsp code inside the predefined index.html file in the eclipse the guestbook.jsp code it shows me the html code in the browser but the java functions does not work! If I do a new file named guestbook.jsp nothing works. Any other ideas please?
Thank you, Andreas On Nov 15, 5:06 am, "zhiw...@gmail.com" <zhiw...@gmail.com> wrote: > 1. make sure use jdk1.5 or 1.6 > > 2. uninstall your jre , only let jdk in your computer. > > On Nov 15, 8:10 am, Martin <martin.j.lebor...@gmail.com> wrote: > > > > > Hello - I'm trying to work through the Guestbook tutorial of Google > > App Engine tutorial. (Using Eclipse), but getting stuck at the > > section where I develop jsps (and then develop a guestbook.jsp) > > > I'm able to get the project working - I can manipulate the > > GuestbookServlet class file to display a welcome message. > > > However, when I attempt to incorporate the guestbook.jsp, I still only > > see the old display message that I wrote in GuestbookServlet. > > (I've recompiled, restarted Eclipse, and even restarted computer). > > > 1) Web xml looks like: > > <welcome-file-list> > > <welcome-file>guestbook.jsp</welcome-file> > > </welcome-file-list> > > > 2) guestbook.jsp is pasted directly from tutorial. > > > 3) Going to "http://localhost:8080/guestbook" yields the message I > > coded in the GuestbookServlet > > > 4) Going directly to:http://localhost:8080/guestbook.jspyieldsan > > error: > > Error running javac.exe compiler > > RequestURI=/guestbook.jsp > > Caused by: > > Error running javac.exe compiler > > at > > org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExter > > nalCompile > > (DefaultCompilerAdapter.java:473) > > at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute > > (JavacExternal.java:47) > > at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931) > > at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) > > at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: > > 382) > > > 5) I even trimmed out all jsp code from guestbook.jsp and i get same > > results - get servlet message from going to /guestbook and get above > > error from going directly to guestbook.jsp. (And yeap, I recompiled > > and restarted) > > ..... > > Any thoguhts? > > Thank you very much for your help. I greatly appreciate it. > > Martin -- 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-j...@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=.