model_patel
12-01-07, 02:58 AM
Hi everyone,
I am very new to CGI. I have a .cgi file that generated mathematical symbols. I got it after compiling the c files. I tried executing the .cgi file from command prompt and it works fine. however when I try to execute the file from the Tomcat server, I am getting a download prompt asking me to save or open the file. I have renamed the servlet-cgi.renametoJar and also the web.xml changes that are suggested in the documentation. Still I am getting the same prompt. This is my seventh day on this task and am very confused about this settings.
I think there is something that I am missing in the settings . Could anyone please suggest me any setting that I have make in tomcat installation or file?
Please Help me.
Regards,
Bharat
I am very new to CGI. I have a .cgi file that generated mathematical symbols. I got it after compiling the c files. I tried executing the .cgi file from command prompt and it works fine. however when I try to execute the file from the Tomcat server, I am getting a download prompt asking me to save or open the file. I have renamed the servlet-cgi.renametoJar and also the web.xml changes that are suggested in the documentation. Still I am getting the same prompt. This is my seventh day on this task and am very confused about this settings.
I think there is something that I am missing in the settings . Could anyone please suggest me any setting that I have make in tomcat installation or file?
Please Help me.
Regards,
Bharat