This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes How to use message bundles in hidden field? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to use message bundles in hidden field?" Watch "How to use message bundles in hidden field?" New topic
Author

How to use message bundles in hidden field?

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 120
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.
 
GeeCON Prague 2014
 
subject: How to use message bundles in hidden field?