struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis Voo <>
Subject How to get the key name
Date Wed, 02 Dec 2009 18:14:50 GMT

I've this text field in my jsp

<s:textfield key="" name="" maxlength="35" required="true"/>

and this property in the resource bundle

error.required = ${getText(fieldName)} is required. = Name

When there is validation error, it looking for property, it is fine because I'm
using fieldName, so my question is there anyway I can get key name? So that I can use the property.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message