File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes tomcat and perl scripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "tomcat and perl scripts" Watch "tomcat and perl scripts" New topic
Author

tomcat and perl scripts

radhika holani
Greenhorn

Joined: Mar 28, 2006
Posts: 29
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

Joined: Feb 27, 2002
Posts: 8919

Does Tomcat support PERL scripts. I dont think. Apache does.


Groovy
radhika holani
Greenhorn

Joined: Mar 28, 2006
Posts: 29
yes. It supports
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

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

Joined: Mar 28, 2006
Posts: 29
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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat and perl scripts