Can ruby forward page?

Can ruby cgi perform page forwarding with the client requested info
like jsp in <jsp:forward …>? if yes, would any body tells me how?
Thanks.

Lian

Can ruby cgi perform page forwarding with the client requested info
like jsp in <jsp:forward …>? if yes, would any body tells me how?
Thanks.

Lian

Supply the method with the URL of the new location

def forward( new_page )
print “HTTP/1.1 302 OK\r\n”
print “Location:#{new_page}\n\n”
end

Call this before emitting any other headers. (And you should be emitting
anything after it, either.)

James