File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Redirect with CGI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Redirect with CGI" Watch "Redirect with CGI" New topic

Redirect with CGI

victor kamat
Ranch Hand

Joined: Jan 10, 2007
Posts: 247
I am using the CGI program to redirect but it doesn't work.
Can somebody help me. Thanks

#!/usr/local/bin/perl -T

use strict;
use CGI ':standard';

my $cgi = new CGI;

print header;
print start_html('Hello World');
print end_html();

I agree. Here's the link:
subject: Redirect with CGI
It's not a secret anymore!