webtier@glassfish.java.net

Re: [webtier] Init Params in Servlet and Filter

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 18 Sep 2008 19:12:38 -0700

Hi Deepa,

On 09/18/08 02:55 AM, webtier_at_javadesktop.org wrote:
> Hi,
>
> This is a question regarding Servlet 3.0 API. If I annotate my Servlet and filter class using @Servlet and @ServletFilter respectively, how do I retrieve the initialization parameter values from these classes? I couldn’t find any helpful information in the spec regarding this.
>

Have you checked the latest draft (at
http://wiki.glassfish.java.net/Wiki.jsp?page=FrameworkPluggability)?

Both the WebServlet and ServletFilter annotation types define initParams
elements.

Thanks,

Jan

> Thanks,
> Deepa
> [Message sent by forum member 'deepasobhana' (deepasobhana)]
>
> http://forums.java.net/jive/thread.jspa?messageID=300042
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>