blob: 7c66176860f1c5b0f7ced97a38ab2685d4735361 (
plain)
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
44
45
46
|
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!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=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@page import="java.util.List" import="model.Tema" %>
<form style="width: 1071px; height: 521px;" method="post" name="ejercicio_form">
<br>
Profesor: <input name="profesor" id="profesor">
<br>
Nombre: <input name="nombre" id= "nombre">
<br>
Descripcion:
<br>
<textarea cols="40" rows="10" name="descripcion"></textarea>
<br>
Tema: <select id="temas" name="tema">
<% List<Tema> temas = (List<Tema>)request.getAttribute("lista_temas"); %>
<% for(Tema tema : temas) {%>
<option value="<%= tema.getIdTema() %>"><%= tema.getNombre() %></option>
<% } %>
</select>
<br>
<br> Probabilidades:
<br>
A priori: <input name="a_priori" id= "a_priori">
<br>
Adivinanza: <input name="adivinanza" id="adivinanza">
<br>
Descuido: <input name="descuido" id="descuido">
<br>
Peso: <input name="peso" id="peso">
<br>
<input type="submit" name="Aceptar" value="Aceptar1">
</form>
</body>
</html>
|