RE: [Simpleweb-Support] Whats the best way to use the mapper?
Brought to you by:
niallg
From: Henry V. <hen...@ge...> - 2005-02-22 14:34:05
|
Hi and thanks for the answer. Right now im really confused to how to set the mapper to my engine. EX MapperEngine engine =3D new MapperEngine(); // Where do i set the PrefixMapper to my engine ???? ProtocolHandler handler =3D HandlerFactory.getInstance(engine); Connection connection =3D ConnectionFactory.getConnection(handler); connection.connect(new ServerSocket(80)); thanks Henry -----Original Message----- From: sim...@li... [mailto:sim...@li...]On Behalf Of Niall Gallagher Sent: Tuesday, February 22, 2005 1:48 AM To: sim...@li... Subject: Re: [Simpleweb-Support] Whats the best way to use the mapper? Hi Henry, To take the mapping from a file have a look at the PrefixMapper or the PatternMapper. Both of these take the mappings from a file. They are loca= ted in the package simple.http.load and rely on a mapper.properties file to acquire mappings. Niall ----- Original Message ----- From: "Henry Voyer" <hen...@ge...> To: sim...@li... Subject: [Simpleweb-Support] Whats the best way to use the mapper? Date: Mon, 21 Feb 2005 17:27:28 -0500 > > Hi everyone > > im trying to use a custom mapper that reads the mapping from a file. > Is there an example or a way to simply to this? > > Regards and thanks > > henry > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users= . > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick _______________________________________________ Simpleweb-Support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simpleweb-support |