- CONVERSION DE VALORES --> ERROR DE CONVERSION
- VALIDACION DE LOS MISMOS --> ERROR DE VALIDACION
- INSPECCION DE VALORES
es capaz de mandarnos un error si introducimos el campo mal.
Para poder utilizar un tag form de spring es necesario introducir al modelo, en este caso producto, las siguientes dependencias maven en proyecto "modelotienda":
- spring-context (version 4)
- javax.validation
- hibernate-validator
CONTROLADOR
MODIFICACION PRODUCTO
CONTROLADOR

VISTA

SELECT PRODUCTO Y LISTADO
CONTROLADOR

CLASE REGALO

VISTA 1

VISTA 2

No hay comentarios:
Publicar un comentario