> For example, if you're using the default StripesResources.properties,
> you still have to configure it in web.xml to use it with JSTL,
> with a context parameter.

More specifically:

<context-param>
  <param-name>
    javax.servlet.jsp.jstl.fmt.localizationContext
  </param-name>
<param-value>StripesResources</param-value>
</context-param>

> So yes, the JstlResourceBundleInterceptor is necessary, but there
> may be other ways to tell JSTL to use your database-backed
> resource bundle.

For example, I believe that Oscar's plugin in Stripes-Stuff can
automatically pick up the resource bundle that you're for Stripes
and set it up for JSTL. But either way it amounts to the same thing:
an interceptor that does the configuration. The advantage of using
Oscar's plugin is that it's already done and you just need to plug
it in :)

Nevertheless, I wanted to explain how that works, in my post.

Cheers,
Freddy
http://www.stripesbook.org



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to