redirect is written in which respond should be written.