Guys,
You are getting religious about CGI... Religious is good, but I worry that
it is a cult {:-)}. CGI was a good thing for last 6 years, and it is a
still good thing sometimes. Note, we have tons of legacy perl software
around, and believe me, I can sometimes do more in one line of perl, than
in a page of Java. Yes, CGI is an "old ways", but it will be here for a long
time, since there is so much stuff written in it. I did not look carefully
at regexp Java syntax, but can you have a
s/\b(\d+\.?\d*)C\b/int($1 * 1.8 +32) . "F"/e
substitution in Java?
I personally think that web server without CGI is not a fully operational
Web server. End of story...
This is GREAT that CGI is available in Tomcat. You should avoid it, but
sometimes, if you have a week to move from Apache to Tomcat, you just
cannot do it, and you need a way to move from CGI to servlets/jsp in an
organized way.
> Good for you. If I really had a choice, I would not include CGI support at
> all (isn't Tomcat just supposed to be a servlet container?). I don't know of
> anyone who really uses CGI for anything "real" these days. It just sucks for
> high performance sites and larger web applications. Now that we have
> javax.servlet we don't need no stinkin' CGI. Before servlets I was was doing
> CGI in C! yuck.
>
Jan K. Labanowski | phone: 614-292-9279, FAX: 614-292-7168
Ohio Supercomputer Center | Internet: [EMAIL PROTECTED]
1224 Kinnear Rd, | http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163 | http://www.osc.edu/