On 8/16/06, James Sanders <[EMAIL PROTECTED]> wrote:
Working within a larger struts system, it became necessary for me to create a servlet, which co-exists with, but outside of, the system. This has worked very well, but I now find myself wishing to use the functionality of <bean:message> and MessageResource files in a jsp outside the struts realm. It is not difficult to simply use a ResourceBundle to retrieve the necessary messages into my servlet, but I can't seem to figure out how to make these messages accessible through <bean:message> in my jsp. Does anyone know the mechanism struts (or anything else) uses to make this happen?
If you want to use a key from ur properties file in ur jsp, u could simply do.. <bean:messgae key = "some.key" /> this will put the value of the key here.. im not sure this wat u wanted to ask..but in case its this then well n good.. -- Puneet