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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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
Similar Threads
Way to SEARCH the APIs ?
Display of Latin Characters
JSTL Expression issue
assign values to form elements dynamically?
How to get value from dynamic textfield