aspose file tools
The moose likes Struts and the fly likes How to use message bundles in hidden field? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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: 118
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to use message bundles in hidden field?
 
Similar Threads
populating jsp fields through javascript
populating jsp through javascript
html:hidden
access iterated struts tag in javascript
JSP values into HTML hidden fields ? or javascript ?