tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oscar Sanchez Vilar <sanch...@tcd.ie>
Subject Re: Execute a CGI from a bean
Date Tue, 15 Aug 2000 18:52:05 GMT
Surprisingly, this works only with Netscape 4.0, not IE5. I have both
browsers opened, and while the redirection works in NS, ie says that the page
is not available (not that the file doesn't exist). Any ideas?

Thanks again,

Oscar

Luis Andrei Cobo wrote:

> yes:
>
> response.sendRedirect("/cgi-bin/htmloutput.cgi?args");
>
> that should work.
>
> Luis
>
> -----Original Message-----
> From: Tim Diggins [mailto:subscribed@red56.co.uk]
> Sent: Monday, August 14, 2000 10:57 AM
> To: tomcat-user@jakarta.apache.org; oscarsanchez@mail.com
> Subject: RE: Execute a CGI from a bean
>
> Is there a reason that you can't you just redirect the user to that cgi's
> URL (don't have my docs in front of me at the moment, so I can't name the
> JSP syntax, but I remember it because it's analagous to the ASP
> Response.Redirect() function.)
>
> Tim
> (ASP converter)
>
> > -----Original Message-----
> > From: Oscar Sanchez Vilar [mailto:sanchezo@tcd.ie]
> > Sent: 14 August 2000 11:53
> > To: tomcat-user@jakarta.apache.org
> > Subject: Execute a CGI from a bean
> >
> >
> > 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





Mime
View raw message