Re: Using bean:message from non-struts servlet

2006-08-16 Thread Adam Gordon
For posterity, and hopefully to help others, here's what James did: 1. Placed basename="package.name.to.messages.file.ClassName" /> near the top of the JSP, though I suspect the location might be irrelevant...not sure... 2. Used to retrieve the specific resource message. -adam James San

Re: Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
Thank you Rahul, this was exactly what I needed. I was not formerly familiar with the fmt taglib. On 8/15/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote: On 8/15/06, James Sanders <[EMAIL PROTECTED]> wrote: > Puneet, > > Thank you for your response. The problem is that this does not work outside >

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Rahul Akolkar
On 8/15/06, James Sanders <[EMAIL PROTECTED]> wrote: Puneet, Thank you for your response. The problem is that this does not work outside of the land of struts configuration. Using struts configuration, each jsp has access to all the keys in the Messages.properties file for its module (or actuall

Re: Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
Puneet, Thank you for your response. The problem is that this does not work outside of the land of struts configuration. Using struts configuration, each jsp has access to all the keys in the Messages.properties file for its module (or actually, whichever module the ActionForm that forwards to th

Re: Using bean:message from non-struts servlet

2006-08-15 Thread Puneet Lakhina
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 and MessageResource

Using bean:message from non-struts servlet

2006-08-15 Thread James Sanders
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 and MessageResource files in a jsp outside the struts realm. It is not diff