Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: while loop with diamond operator

by SerZKO (Beadle)
on Aug 07, 2012 at 18:37 UTC ( #986057=note: print w/replies, xml ) Need Help??

in reply to while loop with diamond operator

As blue_cowdawg said, Tomcat doesn't support CGI by default. You have to do 3 things:

1. Rename file servlets-cgi.renametojar (under your tomcat servlet directory) to servlets-cgi.jar

2. Modify your web.xml (usually under ../server/default/deploy/conf/) and uncomment whole part arround cgi servlet (don't forget mapping inside same file)

3. Modify context.xml file (usually under ../web.deployer directory) and add privileged="true" in < Context... >line, so it looks something like this <Context cookies="true" crossContext="true" privileged="true">

And that would make CGI work on your Tomcat 5 or 6 server

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://986057]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2016-10-26 07:43 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.