zashwing has asked for the wisdom of the Perl Monks concerning the following question:

I know I know...save the flames about how this is NOT a tomcat forum please!
Has anyone used tomcat as a CGI container to host perl web apps?
I know I've seen the behavior I am getting before but I just can't seem to remember what I did to resolve it. Hoping that the monk wisdom is the fastest way to get it resolved (worth a shot right?)
I have tomcat configured and runnning, what I see when I run the perl app in a browser is ALL of the code and not simply the results of the execution.
Any ideas?
  • Comment on Running Perl using Tomcat as a CGI container

Replies are listed 'Best First'.
Re: Running Perl using Tomcat as a CGI container
by Old_Gray_Bear (Bishop) on Apr 11, 2009 at 05:36 UTC
    I ran a Google search on "Tomcat Perl" and came up with a number of hits; this one looks promising. It's a multi-part contraption (three steps, with several sub-headings and XML and stuff), but it seems to do what you want - drive a CGI program written in Perl from Tomcat.

    Caveat: I don't have a Tomcat implementation to test this out. But I bet you do.

    ----
    I Go Back to Sleep, Now.

    OGB