A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
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");
I agree. Here's the link:
subject: How to get a default value in html:textarea from a properties file.
problem displaying greaterthan, etc special characters
how can i set up the value of html:text and html:textarea ?
Regarding Text Area
Error using struts (form-bean)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014