Re: 301 redirect with jsp tag in redirect url
Sunday, September 25, 2005 11:36 AM
A jsp expression works usually where a tag-within-a-tag does not. So putting the dynamic stuff inside a jsp expression should work...
response.setHeader("Location", '<%= "http://www.mysite.com/record/" + myVar1Str %>');
where "String myVar1Str = (String)Recordset1.getObject(avar1)" has already been done previously, perhaps inside a helper bean.