• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP EL Issue  RSS feed

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a web application project built in Spring MVC 2.5. There are some EL expressions which are used in JSP as below:

${status.value}
${status.expression}
${status.errorMessages}

But, I coudln't find any place in Java/JSP where the value for status is being set. Please suggest what could be the possible place where the values for status is being set.

As the code is client specific, so, I couldn't paste the specific code over here but I have searched in whole workspace i couldn't find a single place where values for status is being set/assigned to.

Thanks & Regards,
Vaibhav Garg
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is most likely set in the controller. Such values would never be set n the JSP itself in a properly structured app.
 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear!

I got the place where these values are being referred to. Actually, these are spring bind properties.

Reference Link:

http://docs.spring.io/spring/docs/1.2.9/taglib/tag/BindTag.html

Regards,
Vaibhav Garg
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!