You should either forward or redirect, why trying both?
The Urlrewrite library which is being used, does a forward internally. All requests are handled by urlrewrite filter at the first level. So I cannot avoid that.
My query is that just by calling forward on a request - the response gets committed ? even if nothing was written explicitly to the response.
To detail out how things are working at my end :
Lets say user accesses a short url
http://test.myurl.com/section/News.
The request is handled by url-rewrite filter which forwards it to a
resource(servlet) identified by mappings present with url-rewrite filter.
This
resource , depending on some logic may call sendredirect.
Will there be an issue on this call?
Thanks
Chandrakant