You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Charlton Barreto <cb...@inprise.com> on 2000/04/12 18:35:41 UTC

CGI, JHTML and JSP 0.92 support

Hello,

I am planning to use Tomcat and Apache for my servlet engine and web
server, and I need some clarification about Tomcat's capabilities.

I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
1.1 support out of the box, and suggestions that CGI support (out of the
box, that is) is not provided by Tomcat. I have not seen any statements
made about JHTML and/or JSP 0.92.

Can someone on the project clearly state what the level of support for
CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
this statement, I would be more than happy to post this to the
FAQ-o-matic. I feel it would be a good idea to provide this information
in an easily accessible way, someone wanting it can just go to the FAQ
and get it there in no uncertain terms.

Thanks for your time and help.

Cheers,

-C.


Tomcat install under Redhat 6.1

Posted by Andrew <an...@ocean.com.au>.
Hi,

Hrm. This might be a simple question, as java is not my most proficient language
by a long margin, but here goes ...

I've tried installing tomcat, both from the rpms available (as mentioned on this
list), and from the tarball directly from jakarta.apache.org. I've followed the
Tomcat+Apache Howto, and the readme for tomcat, but still can't manage to get
tomcat running successfully in either case.

I'm running: 
jdk-117_v1a-2
apache-1.3.12-2

under Redhat 6.1. I've included the line (in my /etc/httpd/conf/httpd.conf):

Include /opt/tomcat/conf/tomcat.conf 

Once I restart Apache and start tomcat with the bin/startup.sh script, I can
still view ordinary http served pages, but attempts to view the suggested
example pages:

    localhost/examples/servets/
OR  localhost/examples/jsp/

fail with the following trace printed out on the terminal from which I ran
bin/startup.sh:

[root@host bin]# HANDLER THREAD PROBLEM: java.net.SocketException: Invalid
argument
java.net.SocketException: Invalid argument
    at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:150)
    at java.net.Socket.setSoLinger(Socket.java:102)
    at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:108)
    at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:334)
    at java.lang.Thread.run(Thread.java:241)


Thanks in advance for any advice towards resolving this problem :-)


Andrew Lampert
Network Administrator
Ocean Internet
+61 3 9602 5252


Re: CGI, JHTML and JSP 0.92 support

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Charlton Barreto wrote:

> Hi Craig,
>
> Thank you very much for your response - it is very greatly appreciated. Your
> information was exactly what I needed - a "yes this is supported" or "no this
> isn't supported".
>

Don't forget your promise to add the FAQ-O-MATIC entry :-)

http://jakarta.apache.org/faq/faqindex.html --> Faq-o-matic link

Craig McClanahan




Re: CGI, JHTML and JSP 0.92 support

Posted by Eugen Kuleshov <an...@hco.kollegienet.dk>.
Charlton Barreto wrote:
 
> Thank you very much for your response - it is very greatly appreciated. Your
> information was exactly what I needed - a "yes this is supported" or "no this
> isn't supported".
> 
> As your response and other responses have indicated (and I thank everyone who
> posted a response), there is no real interest or justification for JHTML or JSP
> 0.92 support in Tomcat. They are well enough left out of the Tomcat equation. CGI
> is a different story, but it is perfectly justifiable to roll one's own support
> for it (possibly to open source and roll into 3.2).

  Actually you can use JSSI from http://java.apache.org for support
jhtml.
  It support not all features of Apache's XSSI but it's better then
none.

  Eugen Kuleshov.

Re: CGI, JHTML and JSP 0.92 support

Posted by Charlton Barreto <cb...@inprise.com>.
Hi Craig,

Thank you very much for your response - it is very greatly appreciated. Your
information was exactly what I needed - a "yes this is supported" or "no this
isn't supported".

As your response and other responses have indicated (and I thank everyone who
posted a response), there is no real interest or justification for JHTML or JSP
0.92 support in Tomcat. They are well enough left out of the Tomcat equation. CGI
is a different story, but it is perfectly justifiable to roll one's own support
for it (possibly to open source and roll into 3.2).

Thanks again for your time and help.

Cheers,

-C.

"Craig R. McClanahan" wrote:

> Charlton Barreto wrote:
>
> > Hello,
> >
> > I am planning to use Tomcat and Apache for my servlet engine and web
> > server, and I need some clarification about Tomcat's capabilities.
> >
> > I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> > and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> > 1.1 support out of the box, and suggestions that CGI support (out of the
> > box, that is) is not provided by Tomcat. I have not seen any statements
> > made about JHTML and/or JSP 0.92.
> >
> > Can someone on the project clearly state what the level of support for
> > CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> > this statement, I would be more than happy to post this to the
> > FAQ-o-matic. I feel it would be a good idea to provide this information
> > in an easily accessible way, someone wanting it can just go to the FAQ
> > and get it there in no uncertain terms.
> >
>
> Tomcat 3.1 supports:
> * Servlet API Specification, version 2.2
> * JavaServer Pages Specification, version 1.1
>
> Tomcat 3.1 does not support:
> * CGI (unless you are connected to a web server that does it for you)
> * JHTML
> * JSP 0.92
>
> CGI support for Tomcat stand-alone would certainly be feasible if someone
> wanted to build a servlet that did so -- it's on the desired features list for
> Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> for this would be welcomed.
>
> For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
> under Tomcat.  More information at <http://java.apache.org>.  There's also the
> opportunity for someone to contribute code for this purpose into Tomcat as
> well.
>
> I don't see any reason for someone to create JSP 0.92 compatible support, but
> again anything's possible in an open source project :-).
>
> >
> > Thanks for your time and help.
> >
>
> Craig McClanahan
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: CGI, JHTML and JSP 0.92 support

Posted by Charlton Barreto <cb...@inprise.com>.
Hi Craig,

Thank you very much for your response - it is very greatly appreciated. Your
information was exactly what I needed - a "yes this is supported" or "no this
isn't supported".

As your response and other responses have indicated (and I thank everyone who
posted a response), there is no real interest or justification for JHTML or JSP
0.92 support in Tomcat. They are well enough left out of the Tomcat equation. CGI
is a different story, but it is perfectly justifiable to roll one's own support
for it (possibly to open source and roll into 3.2).

Thanks again for your time and help.

Cheers,

-C.

"Craig R. McClanahan" wrote:

> Charlton Barreto wrote:
>
> > Hello,
> >
> > I am planning to use Tomcat and Apache for my servlet engine and web
> > server, and I need some clarification about Tomcat's capabilities.
> >
> > I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> > and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> > 1.1 support out of the box, and suggestions that CGI support (out of the
> > box, that is) is not provided by Tomcat. I have not seen any statements
> > made about JHTML and/or JSP 0.92.
> >
> > Can someone on the project clearly state what the level of support for
> > CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> > this statement, I would be more than happy to post this to the
> > FAQ-o-matic. I feel it would be a good idea to provide this information
> > in an easily accessible way, someone wanting it can just go to the FAQ
> > and get it there in no uncertain terms.
> >
>
> Tomcat 3.1 supports:
> * Servlet API Specification, version 2.2
> * JavaServer Pages Specification, version 1.1
>
> Tomcat 3.1 does not support:
> * CGI (unless you are connected to a web server that does it for you)
> * JHTML
> * JSP 0.92
>
> CGI support for Tomcat stand-alone would certainly be feasible if someone
> wanted to build a servlet that did so -- it's on the desired features list for
> Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> for this would be welcomed.
>
> For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
> under Tomcat.  More information at <http://java.apache.org>.  There's also the
> opportunity for someone to contribute code for this purpose into Tomcat as
> well.
>
> I don't see any reason for someone to create JSP 0.92 compatible support, but
> again anything's possible in an open source project :-).
>
> >
> > Thanks for your time and help.
> >
>
> Craig McClanahan
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: CGI, JHTML and JSP 0.92 support

Posted by Charlton Barreto <cb...@inprise.com>.
Hi Craig,

Thank you very much for your response - it is very greatly appreciated. Your
information was exactly what I needed - a "yes this is supported" or "no this
isn't supported".

As your response and other responses have indicated (and I thank everyone who
posted a response), there is no real interest or justification for JHTML or JSP
0.92 support in Tomcat. They are well enough left out of the Tomcat equation. CGI
is a different story, but it is perfectly justifiable to roll one's own support
for it (possibly to open source and roll into 3.2).

Thanks again for your time and help.

Cheers,

-C.

"Craig R. McClanahan" wrote:

> Charlton Barreto wrote:
>
> > Hello,
> >
> > I am planning to use Tomcat and Apache for my servlet engine and web
> > server, and I need some clarification about Tomcat's capabilities.
> >
> > I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> > and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> > 1.1 support out of the box, and suggestions that CGI support (out of the
> > box, that is) is not provided by Tomcat. I have not seen any statements
> > made about JHTML and/or JSP 0.92.
> >
> > Can someone on the project clearly state what the level of support for
> > CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> > this statement, I would be more than happy to post this to the
> > FAQ-o-matic. I feel it would be a good idea to provide this information
> > in an easily accessible way, someone wanting it can just go to the FAQ
> > and get it there in no uncertain terms.
> >
>
> Tomcat 3.1 supports:
> * Servlet API Specification, version 2.2
> * JavaServer Pages Specification, version 1.1
>
> Tomcat 3.1 does not support:
> * CGI (unless you are connected to a web server that does it for you)
> * JHTML
> * JSP 0.92
>
> CGI support for Tomcat stand-alone would certainly be feasible if someone
> wanted to build a servlet that did so -- it's on the desired features list for
> Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> for this would be welcomed.
>
> For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
> under Tomcat.  More information at <http://java.apache.org>.  There's also the
> opportunity for someone to contribute code for this purpose into Tomcat as
> well.
>
> I don't see any reason for someone to create JSP 0.92 compatible support, but
> again anything's possible in an open source project :-).
>
> >
> > Thanks for your time and help.
> >
>
> Craig McClanahan
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: CGI, JHTML and JSP 0.92 support

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Eugen Kuleshov wrote:

> "Craig R. McClanahan" wrote:
>
> > CGI support for Tomcat stand-alone would certainly be feasible if someone
> > wanted to build a servlet that did so -- it's on the desired features list for
> > Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> > for this would be welcomed.
>
>   It is possible?
>   Because CGI used environment for gathering parameters to application.
> JVM have no access to environment without any native code. Only one
> solution I know, generate special script with setting environment then
> start it. But it's wery platform depended solution (bacsuse no one
> scripting processor in different OS'es... i mean sh, bash, command.com,
> com.exe, et cetera...).
>

The environment variables you care about are not the ones that Tomcat itself sees,
but the ones that your CGI application sees.  These will be "manufactured" (in some
fashion) within the CGI servlet, and then passed on to the CGI app.  If you use one
of the Runtime.exec() variants that lets you pass an array of environment variable
definitions, this is really easy.  All you have to do is read the CGI spec and
formulate the necessary environment variable values, based on what you already know
or can figure out inside your servlet.

For Unix based systems, you don't need to worry about shells at all -- the resource
that your URL identifies (normally "/cgi-bin/xxxx" or "xxxx.cgi" depending on how
you do your mapping) will need to be executable, so all you do is exec() it.  For
Windows, I am not familiar with the WIN-CGI conventions, but it's pretty easy for a
generic servlet to determine (from system properties) that it is running on such a
platform, and mimic the same rules.

If other servlet engines can do this with no native code, there's no reason you
couldn't with Tomcat.  In fact, a servlet that does CGI scripting can be quite
portable across servlet containers.

>
>   Eugen Kuleshov.
>

Craig McClanahan



Re: CGI, JHTML and JSP 0.92 support

Posted by Eugen Kuleshov <an...@hco.kollegienet.dk>.
Hans Bergsten wrote:
 
> I never tried, but wouldn't
> 
>   java.lang.Runtime
>   public Process exec(String cmdarray[], String envp[]) throws IOException
> 
> be the way to go? To me it seems like you can define all environment
> variables in envp and they would be available to the command specified
> in cmdarray.

  oh yes. You right.

  Eugen Kuleshov.

Re: CGI, JHTML and JSP 0.92 support

Posted by Hans Bergsten <ha...@gefionsoftware.com>.
Eugen Kuleshov wrote:
> 
> "Craig R. McClanahan" wrote:
> 
> > CGI support for Tomcat stand-alone would certainly be feasible if someone
> > wanted to build a servlet that did so -- it's on the desired features list for
> > Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> > for this would be welcomed.
> 
>   It is possible?
>   Because CGI used environment for gathering parameters to application.
> JVM have no access to environment without any native code. Only one
> solution I know, generate special script with setting environment then
> start it. But it's wery platform depended solution (bacsuse no one
> scripting processor in different OS'es... i mean sh, bash, command.com,
> com.exe, et cetera...).

I never tried, but wouldn't 

  java.lang.Runtime
  public Process exec(String cmdarray[], String envp[]) throws IOException

be the way to go? To me it seems like you can define all environment
variables in envp and they would be available to the command specified
in cmdarray.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Re: CGI, JHTML and JSP 0.92 support

Posted by Eugen Kuleshov <an...@hco.kollegienet.dk>.
"Craig R. McClanahan" wrote:
 
> CGI support for Tomcat stand-alone would certainly be feasible if someone
> wanted to build a servlet that did so -- it's on the desired features list for
> Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
> for this would be welcomed.

  It is possible?
  Because CGI used environment for gathering parameters to application.
JVM have no access to environment without any native code. Only one
solution I know, generate special script with setting environment then
start it. But it's wery platform depended solution (bacsuse no one
scripting processor in different OS'es... i mean sh, bash, command.com,
com.exe, et cetera...).

  Eugen Kuleshov.

Re: CGI, JHTML and JSP 0.92 support

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Charlton Barreto wrote:

> Hello,
>
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
>
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
>
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.
>

Tomcat 3.1 supports:
* Servlet API Specification, version 2.2
* JavaServer Pages Specification, version 1.1

Tomcat 3.1 does not support:
* CGI (unless you are connected to a web server that does it for you)
* JHTML
* JSP 0.92

CGI support for Tomcat stand-alone would certainly be feasible if someone
wanted to build a servlet that did so -- it's on the desired features list for
Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
for this would be welcomed.

For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
under Tomcat.  More information at <http://java.apache.org>.  There's also the
opportunity for someone to contribute code for this purpose into Tomcat as
well.

I don't see any reason for someone to create JSP 0.92 compatible support, but
again anything's possible in an open source project :-).

>
> Thanks for your time and help.
>

Craig McClanahan



Re: CGI, JHTML and JSP 0.92 support

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Charlton Barreto wrote:

> Hello,
>
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
>
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
>
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.
>

Tomcat 3.1 supports:
* Servlet API Specification, version 2.2
* JavaServer Pages Specification, version 1.1

Tomcat 3.1 does not support:
* CGI (unless you are connected to a web server that does it for you)
* JHTML
* JSP 0.92

CGI support for Tomcat stand-alone would certainly be feasible if someone
wanted to build a servlet that did so -- it's on the desired features list for
Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
for this would be welcomed.

For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
under Tomcat.  More information at <http://java.apache.org>.  There's also the
opportunity for someone to contribute code for this purpose into Tomcat as
well.

I don't see any reason for someone to create JSP 0.92 compatible support, but
again anything's possible in an open source project :-).

>
> Thanks for your time and help.
>

Craig McClanahan



Re: CGI, JHTML and JSP 0.92 support

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Charlton Barreto wrote:

> Hello,
>
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
>
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
>
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.
>

Tomcat 3.1 supports:
* Servlet API Specification, version 2.2
* JavaServer Pages Specification, version 1.1

Tomcat 3.1 does not support:
* CGI (unless you are connected to a web server that does it for you)
* JHTML
* JSP 0.92

CGI support for Tomcat stand-alone would certainly be feasible if someone
wanted to build a servlet that did so -- it's on the desired features list for
Tomcat 3.2, but no one has volunteered to work on it yet.  Code contributions
for this would be welcomed.

For JHTML (i.e. <servlet> tags), you might try running the Apache JSSI servlet
under Tomcat.  More information at <http://java.apache.org>.  There's also the
opportunity for someone to contribute code for this purpose into Tomcat as
well.

I don't see any reason for someone to create JSP 0.92 compatible support, but
again anything's possible in an open source project :-).

>
> Thanks for your time and help.
>

Craig McClanahan



RE: CGI, JHTML and JSP 0.92 support

Posted by "Preston L. Bannister" <pr...@home.com>.
I just had cause to look at this last week, and I discovered the changes 
to JSP from 0.92 to 1.0 are *not* even remotely backwards compatible.

I need to deploy on IBM's Websphere 1.2 on OS/390.  This version of 
Websphere supports JSP 0.92.  The IBM documentation points to the Sun
site for the JSP 0.92 description - which Sun has removed.

You can find JSP 0.92 documentation if you download an evaluation 
of version 2 of Sun's Java Web Server product.  

You are fine if the only statement you used was:

  <% ... %>

Everything else seems to have changed.  Amazing...

Since testing on OS/390 is inefficient, and I'm not fond of black box 
debugging (which rules out using Websphere on my box), I grabbed Jetty 
and hacked GNUJSP (for JSP 1.0) to accept at least some 0.92 syntax.

> -----Original Message-----
> From: Charlton Barreto [mailto:cbarreto@inprise.com]
> 
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
> 
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
> 
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.

RE: CGI, JHTML and JSP 0.92 support

Posted by "Preston L. Bannister" <pr...@home.com>.
I just had cause to look at this last week, and I discovered the changes 
to JSP from 0.92 to 1.0 are *not* even remotely backwards compatible.

I need to deploy on IBM's Websphere 1.2 on OS/390.  This version of 
Websphere supports JSP 0.92.  The IBM documentation points to the Sun
site for the JSP 0.92 description - which Sun has removed.

You can find JSP 0.92 documentation if you download an evaluation 
of version 2 of Sun's Java Web Server product.  

You are fine if the only statement you used was:

  <% ... %>

Everything else seems to have changed.  Amazing...

Since testing on OS/390 is inefficient, and I'm not fond of black box 
debugging (which rules out using Websphere on my box), I grabbed Jetty 
and hacked GNUJSP (for JSP 1.0) to accept at least some 0.92 syntax.

> -----Original Message-----
> From: Charlton Barreto [mailto:cbarreto@inprise.com]
> 
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
> 
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
> 
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.

RE: CGI, JHTML and JSP 0.92 support

Posted by "Preston L. Bannister" <pr...@home.com>.
I just had cause to look at this last week, and I discovered the changes 
to JSP from 0.92 to 1.0 are *not* even remotely backwards compatible.

I need to deploy on IBM's Websphere 1.2 on OS/390.  This version of 
Websphere supports JSP 0.92.  The IBM documentation points to the Sun
site for the JSP 0.92 description - which Sun has removed.

You can find JSP 0.92 documentation if you download an evaluation 
of version 2 of Sun's Java Web Server product.  

You are fine if the only statement you used was:

  <% ... %>

Everything else seems to have changed.  Amazing...

Since testing on OS/390 is inefficient, and I'm not fond of black box 
debugging (which rules out using Websphere on my box), I grabbed Jetty 
and hacked GNUJSP (for JSP 1.0) to accept at least some 0.92 syntax.

> -----Original Message-----
> From: Charlton Barreto [mailto:cbarreto@inprise.com]
> 
> I am planning to use Tomcat and Apache for my servlet engine and web
> server, and I need some clarification about Tomcat's capabilities.
> 
> I needed to confirm whether Jakarta/Tomcat inherently support CGI, JHTML
> and/or JSP 0.92. I have seen it clearly stated that Tomcat provides JSP
> 1.1 support out of the box, and suggestions that CGI support (out of the
> box, that is) is not provided by Tomcat. I have not seen any statements
> made about JHTML and/or JSP 0.92.
> 
> Can someone on the project clearly state what the level of support for
> CGI, JHTML and/or JSP 0.92 are in Jakarta/Tomcat? If someone can make
> this statement, I would be more than happy to post this to the
> FAQ-o-matic. I feel it would be a good idea to provide this information
> in an easily accessible way, someone wanting it can just go to the FAQ
> and get it there in no uncertain terms.