• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat and perl scripts

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using apachi tomcat server for running my web application.

i hosted some perl scripts in my web application under WEBINF/cgi folder.
among them one perl script sends "GET" request to some server and parse the received response and generate o/p in the form of xml. when i run the script directly through perl interpretor i get correct xml data as required but when invoking the script from browser i get empty xml .

Also when i host the scripts on apachi http server and invoke the script from browser i get the correct xml.

is there any difference in hosting scripts on apachi http server and apachi tomcat server?

any help will be appritiated.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does Tomcat support PERL scripts. I dont think. Apache does.
 
radhika holani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes. It supports
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes it does. Thanks
Read this , may be helpful
http://www.ftponline.com/javapro/2003_03/online/perl_teden_03_18_03/
 
radhika holani
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am able to run perl script but not getting results as required. (as those i used to get when run on apachi http server)
reply
    Bookmark Topic Watch Topic
  • New Topic