Why not just throw a <font color="blue">Insert failed.</font> and <font
color="red">Insert success.</font> in you Message Resouces file.  

Gary

>>> [EMAIL PROTECTED] 1/9/2006 4:37 AM >>>

Can Any one provide me information regarding display of Messages from
Application Resources in different colours and FONTS.

Example:

I need to display messages based on Sucess or failure of Database
Operations.

I need to display messages in JSP Page as follows

1)      Successful database operations in RED color
2)      Failure database operations in BLUE color



----------------------------------------------------------------------------
--------------------------------------
Message Resources

messages.header=<table  valign="middle" align="center">
messages.footer=</table>
msg.insert.failed = Insert failed.
msg.insert.success = Insert success.

----------------------------------------------------------------------------
--------------------------------------
Message .jsp


<html:messages id="msg" message="true"  header="messages.header"
footer="messages.footer">
<tr><td  class="gitemTitle" valign="middle" align="center" >
<hr><li><bean:write name="msg"/></li><hr>
</td>
</tr>
</html:messages>
----------------------------------------------------------------------------
--------------------------------------





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

Confidentiality Statement:
This email/fax, including attachments, may include confidential and/or 
proprietary information and may be used only by the person or entity to which 
it is addressed. If the reader of this email/fax is not the intended recipient 
or his or her agent, the reader is hereby notified that any dissemination, 
distribution or copying of this email/fax is prohibited. If you have received 
this email/fax in error, please notify the sender by replying to this message 
and deleting this email or destroying this facsimile immediately.

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

Reply via email to