Re: [Cppcms-users] hello_world incorrectly working
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-12-08 14:32:45
|
You are running invalid executable file, not one you build, but an internal test executable for CppCMS's build directory called hello_world. Watch carefully what are you doing :-) Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Basile Starynkevitch <ba...@st...> >To: cpp...@li... >Sent: Saturday, December 8, 2012 4:28 PM >Subject: Re: [Cppcms-users] hello_world incorrectly working > >On Sat, Dec 08, 2012 at 11:44:18AM +0000, Sergey wrote: >> Basile Starynkevitch <basile@...> writes: >> >> > which is not what I expect.... >> >> > >> > What did I do wrong? >> > >> > Regards. >> >> I don't understand. What is a problem? > >Th produced HTML contains a lot of garbage and is not valid HTML. >[notice that there is no </body> in the output I have shown] >It is not the HTML code which the following routine should output > void my_hello_world::main(std::string /*url*/) > { > response().out()<< > "<html>\n" > "<body>\n" > " <h1>Hello World</h1>\n" > "</body>\n" > "</html>\n"; > } > >In other words, it seems that something is buggy in the example >(or probably in the cppcms library). > >Can someone reproduce the bug? > >Cheers >-- >Basile STARYNKEVITCH http://starynkevitch.net/Basile/ >email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 >8, rue de la Faiencerie, 92340 Bourg La Reine, France >*** opinions {are only mines, sont seulement les miennes} *** > >------------------------------------------------------------------------------ >LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial >Remotely access PCs and mobile devices and provide instant support >Improve your efficiency, and focus on delivering more value-add services >Discover what IT Professionals Know. Rescue delivers >http://p.sf.net/sfu/logmein_12329d2d >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |