Please use :-) if you make a joke, some people might think
you are serious.
It is not so obvious that using servlets, CGI, JSP or even shtml
to serve static files is a joke ( static = number of reads much bigger than
number of changes in content).
I think too many system are designed ignoring any rule and any
complexity/speed consideration - and I bet what you just described
already exists.
( for your initial question "sed" is more than enough - there are amazing
optimizations done to serve files - people spent lot of time avoiding
kernel/user space copy, doing mmaps, caching and profiling - any "dynamic"
solution for your problem is just throwing away all this )
> Nic,
>
> Your approach is interesting. I was thinking too small. My boss gave
> me this tiny project, but now I must make a career out of it if I am to
> survive at this company. Great idea!
>
> So, after all the discussion, I am leaning toward ActiveX components
> that automatically download and run on the users machine, with IIS on
> the server, Visual Basic for server side scripting, and SQL server for
> processing the data that I have yet to concieve, but it will be BIG!
>
> Of course this means that every user in the world must have Internet
> Explorer. I can't afford to let anyone have that other 'browser'
> (what's a browser anyway?) If the user doesn't have Internet Explorer,
> I will automatically download and install Windows 98 for them, because
> we all know that IE is just a part of the operating system. Of course,
> they will have to reboot there PC, so I will order them pizza during the
> time they must wait. And if they don't have a PC, I will automatically
> order them a Compaq, of course.
>
> (my sequel)
>
> Tim Gallagher
>
> -----Original Message-----
> From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 03, 1999 8:43 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Template programming - silly aside
>
> What you want Tim is Apache running with mod_perl, use DBI modules to
> hook into databases and a separate instance of Apache with Jserv and
> mod_perl->Jserv connectivity. Use JPL to get Java to use your Perl
> objects, then....
>
> just use a CGI perl script, as Costin says.
>
> (Sorry)
>
> Nic
>
> >>> Costin Manolache <[EMAIL PROTECTED]> 3/3/99 11:37:14 PM >>>
> You can also use server side includes. Or even better - a simple
> Perl script.
>
> Not everything must be in Java.
>
> ________________________________________________________________________
> ___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html