hp51185 0 Newbie Poster

Hello

I am trying to run a perl script on tomcat server. I am putting the incoming http request in a variable data which collects the headers as well as the text file attachment data. The code is like this :

....

while(<>){

$data = $data . $_ ;

}

...

This works fine on apache but on tomcat 6.0 this is getting hanged.

What is the issue?

Thanks in advance

Harsh

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.