Your right of course. Seems that I answered the question a bit too
quickly, my eyes focues on the code example and I lept to conclusions
from that :-(


 Regards
 Mikael

Martijn Spronk wrote:

> > I think that the best thing to do would be to not use the text of
> >the button at all. If you use the text you will need to change the
> >code as well if you decide to change the text on the button by
> >editing the property file. (And if you get internationalization into
> >the picture it will be even worse.)
>
> I disagree on this.
>
> By accessing the properties file I am actually avoiding having
> to modify the code if the button text changes. After all, I am accessing
> the property from the JSP using a tag, and what I try to do in the perform
> method is the same: access the value of the property.

Reply via email to