CPPSERV


Home Projects Jobs Clientele Contact

cppserv


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ServletConfig in CXXSP



Ilya A. Volynets-Evenbakh wrote:
> Chris,
> If I understand correctly, the function responsible for initializing
> a servlet in CXXSP is
> 
>     HttpServlet* loader::create_servlet(dso_code* code) {
> //         cout << "loader::create_servlet" << endl;
>         auto_ptr<HttpServlet> servlet( code->call<HttpServlet*>("create") );
>         if (!servlet.get())
>                 throw runtime_error("Error loading servlet module.
> Servlet creation function returned NULL. ");
>         servlet->init();
>         return servlet.release();
>     }
> 
> I see that it calls non-parametrized init() method directly, and
> does not create/pass ServletConfig object in any way. Am I missing
> something important here?
> 

You're not missing anything. I haven't implemented ServletConfig yet

Authoright © Total Knowledge: 2001-2008