• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use message bundles in hidden field?  RSS feed

prabhu pandurangan
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Team,

I am trying to use <html:hidden property='urlValue' styleId='urlValue' value='<fmt:message key="save.urlvalue'/>' />
But i am facing some jsp exception, like unterminated < <html:hidden> tag.

Could some one help me out in this.

Actual requirement is, in a button onclick function i am calling a javascript function, where i am passing some url to open in new window, for now we have hard coded the url value in javascript, but it should not be done for some security reasons, so trying to use the url value from message bundles and getting it in jsp page and passing as hidden value and getting it in javascript as d.getelementbyid('urlValue').value.

But facing exception on this.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!