Hi,

I am a beginner in developing a web-application with Struts. Therefore my
question may be stupid.

My problem is, that I want to read the value for the maxlength of an input
field from the ApplicationResources.properties - or better - from a Bean
through a getter-Method. Cause: I have to define the maxlength on another
place in my application and I do not want to define it twice, in a bean and
in the jsp.

 

Has anyone an idea, how I can do this ? I tried many things, but it seems,
that Struts only accepts literals in the maxlength-property.

 

Thanks.

Regards

Christine

 

Reply via email to