Bonjour,
Je suis débutant avec JSP, Eclipse et GoogleAppEngine.
J'ai essayé de faire un petit exemple que j'ai trouvé sur internet pour tester GoogleAppEngine. Le problème est que quand j'essaye de faire Run as Web Application et que je vais sur localhost, dès que je clique sur un lien j'ai toujours cette erreur:
et en plus ça me permet pas de faire le Deploy to AppEngine:Error 404 /tutorialCreate.jsp
Voici le code de tutorialCreate.jsp:unable to uppdate app: cannot get the system java compiler. please use a JDK not a JRE.
Quelqu'un saurait-il m'indiquer comment résoudre ce problème ?
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43 <%@page import="java.util.Date" %> <%@page import="java.text.SimpleDateFormat" %> <% SimpleDateFormat sdf =("dd/MM/yyyy");String date = sdf.format(new Date()); %> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>.:: Crear Tutorial::. </title> </head> <span> <a href="/tutorialCreate.jsp">Registrar Tutorial</a><br> <a href="/index.jsp">Ir al indice</a><br> </span> <span ><h1>Crear a Tutorial</h1></span> <form action="/tutorial" method="get"> <table border="0"> <tr> <td>Autor:</td> <td><input type="text" name="autor" /></td> </tr> <tr> <td>Tutorial:</td> <td><input type="text" name="tutorial" /></td> </tr> <tr> <td>Fecha:</td> <td><input readonly type="text" name="fecha" value="<%=date%>" /> </td> </tr> <tr> <td colspan="2" bgcolor="#ffffff" align="left"> <input type="hidden" name="action" value="create"/> <input type="submit" value="Registrar" > </td> </tr> </table> </form> </body> </html>
Merci d'avance pour votre aide.
Partager