0

I am new in Java EE and I am building a web application with maven, spring mvc and hibernate.

I have a problem with the jsp. I can not show the data of object with the expression / jstl language. In console doesn't show any error. Any suggestions?

Pom.xml:

Pom.xml

Controller:

Controller

Inicio.jsp:

Inicio.jsp

Mohammadreza Khatami
  • 1,444
  • 2
  • 13
  • 27
Orlandoj
  • 1
  • 2

1 Answers1

0

I guess in the controller you are setting the object with key

model.addObject("usuario", usuarioo);

The first character is small 'u'.

And in your jsp you are trying to access using Usuario. Thus the value is not getting printed.

Kindly use something like

${usuario.nombre}
Parth Kansara
  • 189
  • 1
  • 11