On Tue, 27 Mar 2001 [EMAIL PROTECTED] wrote:

> - initialization - how can you pass init parameters to the jsp ? This is
> one of the worst hacks and source of counteless problems ( AFAIK - I
> couldn't find any clean way to do that )

>From the application developer's perspective, you do this:

    <servlet>
        <servlet-name>MyJspPageServlet</servlet-name>
        <jsp-file>/path/to/myjsppage.jsp</jsp-file>
        <init-param>
            <param-name>name</param-name>
            <param-value>value</param-value>
        </init-param>
    </servlet>

The approach to implementing this in Catalina is also pretty ugly, but it
does work ...

Craig

Reply via email to