You could exec() the old CGI script, trap the output and send it through the JSP out stream. Oscar Sanchez Vilar wrote: > > 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 -- WBB - wbrogden@bga.com Chief Scientist, LANWrights, Inc. Java Programmer Certification information and mock exam at http://www.lanw.com/java/javacert/