File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes dynamic text and java method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dynamic text and java method" Watch "dynamic text and java method" New topic

dynamic text and java method

Georg Joo
Ranch Hand

Joined: Feb 24, 2004
Posts: 49

I want to get a dynamic text into a argument for a java method. How is this possible ?

The text : %lt;bean:message key="label.MemberID"/%gt;

and the method :
%lt;%= XXX.getSomething(YYYY) %%gt;

YYY is a String argument.

I can read the resource file in the method, but is there another way ?



SCJP, SCWCD, SCBCD<br /> <br />Vienna, Austria
I agree. Here's the link:
subject: dynamic text and java method
jQuery in Action, 3rd edition