A number of changes I made to fix CGI servlet issues required a 1.4
JDK. The CGI servlet is in its own JAR so the easiest solution will be
to build your own version. I'd suggest basing it on the latest code
from 5.5.x.
Mark
Randy Schuster wrote:
What JDK are you using?
I am not sure how t
>>>What JDK are you using?
>>
>> I am not sure how to verify what JRE/JDK Tomcat or a particular servlet
is
>> using but I am pretty sure it is
>>
>> java -version
>> java version "1.3.1_10"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
>Well, you can see in catalina.
Randy Schuster wrote:
>>What JDK are you using?
>
> I am not sure how to verify what JRE/JDK Tomcat or a particular servlet is
> using but I am pretty sure it is
>
> java -version
> java version "1.3.1_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
Well, you can see
>I copied this into my TC 5.5.9/JDK1.5/SuSE Linux dev system and it
>worked fine with either style (or no) parameter.
>What JDK are you using?
I am not sure how to verify what JRE/JDK Tomcat or a particular servlet is
using but I am pretty sure it is
java -version
java version "1.3.1_10"
Java
Randy Schuster wrote:
> Same thing happens if the parameter is bob or bob=yerUncle
OK, yeah, my bad -- apparently the CGI servlet doesn't care :-)
> test-cgi is very simple and was just copied from an older non-servlet/Tomcat
> Apache CGI directory
I copied this into my TC 5.5.9/JDK1.5/SuSE Linu
Same thing happens if the parameter is bob or bob=yerUncle
> Running Apache Tomcat 5.0.18 on Solaris 8 Sparc, two questions
>
>
> 1. CGI Parameter Passing
>
> Enabled CGI and copied the old printenv and test-cgi scripts into my cgi
> directory. They run fine except when I try to pass a parame
Randy Schuster wrote:
Running Apache Tomcat 5.0.18 on Solaris 8 Sparc, two questions
1. CGI Parameter Passing
Enabled CGI and copied the old printenv and test-cgi scripts into my cgi
directory. They run fine except when I try to pass a parameter.
http://myserver/cgi-bin/test-cgi?bob
throw
Randy Schuster wrote:
> 1. CGI Parameter Passing
>
> Enabled CGI and copied the old printenv and test-cgi scripts into my cgi
> directory. They run fine except when I try to pass a parameter.
>
> http://myserver/cgi-bin/test-cgi
>
> works but
>
> http://myserver/cgi-bin/test-cgi?bob
>
> thr