Hi There,
  I need to generate an ActionMessage object without referring to the resource 
file, as the message is received from a different server on the fly.
 Following code works fine if i have "Login.invalid" defined in the resource 
property file.

ActionMessage message = new ActionMessage("Login.invalid");


But I need it so that the message could be a Java String object ,the Following 
code DOESN'T work :

String message = "I am a message" ;
ActionMessage message = new ActionMessage(message);

Please Help,

Many Thanks,
Deepesh.


Reply via email to