Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 39195 invoked from network); 14 Aug 2000 10:54:05 -0000 Received: from truxa1.tcd.ie (134.226.1.158) by locus.apache.org with SMTP; 14 Aug 2000 10:54:05 -0000 Received: from tcd.ie (pc697.cs.tcd.ie [134.226.34.156]) by truxa1.tcd.ie (8.9.3/8.9.3) with ESMTP id LAA27054 for ; Mon, 14 Aug 2000 11:54:03 +0100 (BST) Message-ID: <3997CF74.87346FD7@tcd.ie> Date: Mon, 14 Aug 2000 11:52:36 +0100 From: Oscar Sanchez Vilar Reply-To: oscarsanchez@mail.com Organization: Trinity College, Dublin X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: "tomcat-user@jakarta.apache.org" Subject: Execute a CGI from a bean Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi there. I'd like to implement the following scenario: I have a JSP that uses a bean to validate some user data, and if that user data meets some conditions, I would like to give the user back a page generated by an existing CGI. The only way I've found to do it is by having the user forwarded by the bean to a jsp that redirects the user to the cgi using the HTML META REFRESH Tag (0 secs), but this way the 2ond jsp is shown for a moment, situation that i'd like to avoid. Does anyone know a better way? Thanks in advance, Oscar