Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

Comment on Re: while loop with diamond operator
Select or Download Code

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 cooling their heels in the Monastery: (3)
As of 2015-11-29 01:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls