File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat and perl scripts

 
radhika holani
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Tomcat support PERL scripts. I dont think. Apache does.
 
radhika holani
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes. It supports
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic