A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to get a default value in html:textarea from a properties file.
Joined: Oct 16, 2006
Nov 29, 2006 02:25:00
I have the following in my jsp
<html:textarea cols="30" rows="4" name="disputeForm" property="strRemarks" value="Please type in your remarks for disputing here (up to 500 characters)"/>
I want the value to come from the applicationresources.properties.
I tried bean:message and fmt:message but it s not working.
Can somebody suggest if i am missin something.
Joined: Feb 08, 2006
Nov 29, 2006 13:51:00
I am sure you can do this in your
, but I would probably put the code to initialize this value in my Action class using code something like this:
bundle = ResourceBundle.getBundle("application");
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to get a default value in html:textarea from a properties file.
Error using struts (form-bean)
Regarding Text Area
problem displaying greaterthan, etc special characters
how can i set up the value of html:text and html:textarea ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014