[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
ServletConfig in CXXSP
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?
--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com