Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to set cgi environment variables

807569Oct 1 2006
I'm attempting to write a java web server that supports cgi scripts. First, how would I run a cgi on my server. How would I pass important environment variables like CONTENT_LENGTH so the cgi can access it in a standardized way. Also, how would I pass the encoded post data from a form to the cgi's stdin. Do these change whether the cgi is written in C or PERL?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2006
Added on Oct 1 2006
0 comments
220 views