The </web-app> is how it is the servelet info is outside the </web-app>
should it be on the inside?

I have my cgi's in webapps/ROOT/webinf/cgi.

John Greco
I.T. Department
RAB Electric Manufacturing, Inc.
170 Ludlow Avenue
Northvale, NJ 07647
Tel: 888 RAB-1000
Fax: 888 RAB-1232
Web: www.rabweb.com
Email: [EMAIL PROTECTED]


-----Original Message-----
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 3:00 PM
To: 'Tomcat Users List'
Subject: RE: Greetings

This looks ok except for the </web-app> at the top but I'm assuming this is
a cut and paste error.  The only other thing I could think of is to make
sure you have your cgi's in the right directory and that you are calling
them correctly.  

-----Original Message-----
From: John Greco [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 2:49 PM
To: 'Tomcat Users List'
Subject: RE: Greetings


<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<web-app>
 
</web-app>
<servlet>
      <servlet-name>cgi
      </servlet-name>
      <servlet-class>
         org.apache.catalina.
         servlets.CGIServlet
      </servlet-class>
      <init-param>
         <param-name>
            clientInputTimeout
         </param-name>
         <param-value>100
         </param-value>
      </init-param>
      <init-param>
      <param-name>debug
         </param-name>
      <param-value>6
      </param-value>
      </init-param>
      <init-param>
         <param-name>
            cgiPathPrefix
         </param-name>
         <param-value>
            WEB-INF/cgi
         </param-value>
      </init-param>
         <load-on-startup>5
         </load-on-startup>
   </servlet>
<servlet-mapping>
      <servlet-name>cgi
      </servlet-name>
      <url-pattern>/cgi-bin/*
      </url-pattern>
   </servlet-mapping>

John Greco
I.T. Department
RAB Electric Manufacturing, Inc.
170 Ludlow Avenue
Northvale, NJ 07647
Tel: 888 RAB-1000
Fax: 888 RAB-1232
Web: www.rabweb.com
Email: [EMAIL PROTECTED]


-----Original Message-----
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 2:42 PM
To: 'Tomcat Users List'
Subject: RE: Greetings

Can you also post the relevant part of web.xml?

-----Original Message-----
From: John Greco [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 2:35 PM
To: 'Tomcat Users List'
Subject: RE: Greetings


All I get is The Page Could Not Be Displayed.

John Greco
I.T. Department
RAB Electric Manufacturing, Inc.
170 Ludlow Avenue
Northvale, NJ 07647
Tel: 888 RAB-1000
Fax: 888 RAB-1232
Web: www.rabweb.com
Email: [EMAIL PROTECTED]


-----Original Message-----
From: Lee, Paul NYC [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 2:27 PM
To: 'Tomcat Users List'
Subject: RE: Greetings

Did you get any errors?  

-----Original Message-----
From: John Greco [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 2:23 PM
To: '[EMAIL PROTECTED]'
Subject: Greetings


Greetings all I am new to the list.

I just had a quick question as to getting Tomcat to process some Perl/CGI
stuff. It runs great for my JSP stuff.

I renamed the two files and edited the web.xml

But it's a no go. Any help/ideas?

Thanks
John

John Greco
I.T. Department
RAB Electric Manufacturing, Inc.
170 Ludlow Avenue
Northvale, NJ 07647
Tel: 888 RAB-1000
Fax: 888 RAB-1232
Web: www.rabweb.com
Email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to