[Simpleweb-Support] Re: Simpleweb-Support digest, Vol 1 #72 - 2 msgs
Brought to you by:
niallg
From: Maratib A. K. <mar...@jm...> - 2005-06-28 13:29:18
|
Hi there, i hv't found simple-demo-1.0 package in the download page (http://simpleweb.sf.net/download). can u mail it to me. Scondly if u can help in creating a standalone server using Simple which can serve Groovey pages as well as direct classes extended from BasicService or ActiveService, that will be highly appreicated. A student learning Simple :) Maratib ----- Original Message ----- From: <sim...@li...> To: <sim...@li...> Sent: Monday, June 27, 2005 8:16 PM Subject: Simpleweb-Support digest, Vol 1 #72 - 2 msgs > Send Simpleweb-Support mailing list submissions to > sim...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > or, via email, send a message with subject or body 'help' to > sim...@li... > > You can reach the person managing the list at > sim...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Simpleweb-Support digest..." > > > Today's Topics: > > 1. Service and Template serving (Maratib Ali Khan) > 2. Re: Service and Template serving (Niall Gallagher) > > --__--__-- > > Message: 1 > From: "Maratib Ali Khan" <ma...@ga...> > To: <sim...@li...> > Date: Mon, 27 Jun 2005 05:09:24 -0700 > Subject: [Simpleweb-Support] Service and Template serving > Reply-To: sim...@li... > > This is a multi-part message in MIME format. > > ------=_NextPart_000_009C_01C57AD6.62B905D0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > hi there > > how can i make the simple web server to server velocity pages as well as = > normal services extended from BasicService > > > regards > > Maratib > > ------=_NextPart_000_009C_01C57AD6.62B905D0 > Content-Type: text/html; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=3DContent-Type content=3D"text/html; = > charset=3Diso-8859-1"> > <META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=3D#ffffff> > <DIV><FONT face=3DArial size=3D2>hi there</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>how can i make the simple web server to = > server=20 > velocity pages as well as normal services extended from=20 > BasicService</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>regards</FONT></DIV> > <DIV><FONT face=3DArial size=3D2></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2>Maratib</FONT></DIV> > <DIV> </DIV></BODY></HTML> > > ------=_NextPart_000_009C_01C57AD6.62B905D0-- > > > > --__--__-- > > Message: 2 > Date: Mon, 27 Jun 2005 06:45:28 -0700 (PDT) > From: Niall Gallagher <gal...@ya...> > Subject: Re: [Simpleweb-Support] Service and Template serving > To: sim...@li... > Reply-To: sim...@li... > > Hi, > > If you have a look at the simple-demo-1.0 package in > the download page (http://simpleweb.sf.net/download) > you can see a demo server implementation which serves > velocity templates. What you can do is take a look at > the services implemented here. > > Looking at the mapper.properties file you'll see path > references paired with service class names. This is > how Simple serves a resource using a Service. In here > you can place the name of your BasicService > implementation. Simple makes no distinction between > types of services it loads. For example: > > > package test; > > public class MyService extends BasicService { > > public MyService(Context context) { > super(context); > } > > // etc ... > } > > > And in mapper.properties you would add the following > entry: > > /path/*=test.MyService > > This should work! > > Regards > Niall > > > > > --- Maratib Ali Khan <ma...@ga...> wrote: > >> hi there >> >> how can i make the simple web server to server >> velocity pages as well as normal services extended >> from BasicService >> >> >> regards >> >> Maratib >> > > > Niall Gallagher > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > --__--__-- > > _______________________________________________ > Simpleweb-Support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simpleweb-support > > > End of Simpleweb-Support Digest |