[sword-devel] New Website, Changes and HowTo

Chris Little sword-devel@crosswire.org
Sat, 20 Oct 2001 16:24:53 -0700


Tim,

>   Yeah, that makes sense. What I meant with Perl was 
> embedding a Perl script 
> into the code via an SSI exec call, but that is still less 
> efficent then 
> directly placing the code in the same file.

Ah.  I didn't even know such a thing could be done. :)

>   That is a really interesting idea, thanks for giving me a 
> better idea of 
> what the JSP's are used for. I will have to check out the CVS 
> module some 
> time and see exactly what JSP code looks like.

At the bottom of all the module download pages is a link to the source
of the page that served it:
http://www.crosswire.org/sword/download/ModDisp.jsp.txt.
It's also present a the bottom of the module info pages:
http://www.crosswire.org/sword/download/ModInfo.jsp.txt.

These examples are pretty dense with code, but if you check the current
website CVS (available on SourceForge) you can see some much simpler
examples where we mostly just include other pages in a SSI-like style.

JSPs are pretty easy to write.  And if you have a little Java knowledge,
you can probably do some powerful stuff with them.

--Chris