I have a page that redirects a script like <script src=/file.jsp></script> but the server will return a 302 and redirect that file to /blah/file.jsp
httpUnit will not follow the 302 as it normally does with html. It will rather try and exectute the html that is returned with the 302 as javascript and throw a javascript exception.
Has anyone else seen this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a page that redirects a script like <script src=/file.jsp></script> but the server will return a 302 and redirect that file to /blah/file.jsp
httpUnit will not follow the 302 as it normally does with html. It will rather try and exectute the html that is returned with the 302 as javascript and throw a javascript exception.
Has anyone else seen this?