On Thu, Jul 8, 2010 at 3:17 AM, Wim Dumon <[email protected]> wrote: > And of course WServer::addResource() for resources that are not bound > to a session. The RSS feed in the blog example demonstrates this case. > > Regards, > Wim. > > 2010/7/7 Dmitriy Igrishin <[email protected]>: >> Hey Eric, >> >> Probably you need to use WResource. Please, visit >> http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WResource.html >> for details. >> >> Regards, >> Dmitriy
Thanks, that is what I was looking for. While implementing this I found a couple documentation errors http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WServer.html#_details server.addEntryPoint(WServer::Application, createApplication); should be: server.addEntryPoint(Wt::Application, createApplication); http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WResource.html#_details void handleRequest(const Wt::Http::Request& request, const Wt::Http::Response& response) should be: void handleRequest(const Wt::Http::Request& request, Wt::Http::Response& response) Eric ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
