Re: How to avoid Missing message for key my.key exception...

2005-01-06 Thread Guillaume Cottenceau
Ilja Smoli ilja 'at' frontdesk.ee writes:

 Hi
 How to check is a message present for particular key in message resources
 before displaying it? To avoid exception?

Use null=false in message-resources of your struts-config to
display a ???string??? instead. If you really want to check you
might be lucky by creating an ActionMessage object.

-- 
Guillaume Cottenceau

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to avoid Missing message for key my.key exception...

2005-01-06 Thread Ilja Smoli
Thx for reply:
but problem is that I'd like to check it in jsp at runtime...

Guillaume Cottenceau [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Ilja Smoli ilja 'at' frontdesk.ee writes:

  Hi
  How to check is a message present for particular key in message
resources
  before displaying it? To avoid exception?

 Use null=false in message-resources of your struts-config to
 display a ???string??? instead. If you really want to check you
 might be lucky by creating an ActionMessage object.

 -- 
 Guillaume Cottenceau




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to avoid Missing message for key my.key exception...

2005-01-06 Thread Guillaume Cottenceau
Ilja Smoli ilja 'at' frontdesk.ee writes:

 Thx for reply:
 but problem is that I'd like to check it in jsp at runtime...

Create an ActionMessage object.

-- 
Guillaume Cottenceau

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]