• Post Reply Bookmark Topic Watch Topic
  • New Topic

c:set date null

 
Roberto Alves Pereira
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



object data_entrada = null

The object always equals null data_entrada


where I am going wrong?

thank you
 
Stefan Evans
Bartender
Posts: 1822
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Couple of things:
This check in your if statement won't work.


you might try

or
<c:if test="empty client.nome}">
...
</c:if>[/code]

Where is "data_entrada" meant to come from?
The input field? Then you need to read it from a request parameter. ${param.data_entrada}

In general using a jsp to read request params is a bit of a code smell. That should be in a servlet/bean
 
Roberto Alves Pereira
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Managed solution above.

Thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!