Thanks for that. But I get 404 as the status code...
Are you aware of any work around for this problem? Julien HENRY <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/02/2007 16:55 Please respond to Usage problems for JWebUnit <[email protected]> To Usage problems for JWebUnit <[email protected]> cc Subject [JWebUnit-users] Re : Re : Problem : Redirect requested but followRedirects is disabled It seems to be a know issue of HtmlUnit: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=1359254&group_id=47038 They just need a minimal JUnit test that reproduce the issue. ----- Message d'origine ---- De : Santunu Podder <[EMAIL PROTECTED]> À : Usage problems for JWebUnit <[email protected]> Envoyé le : Lundi, 12 Février 2007, 15h54mn 36s Objet : Re: [JWebUnit-users] Re : Problem : Redirect requested but followRedirects is disabled Hi, I am using JWebUnit 1.4. I have written another sample JSP with the form method = "get" and JWebUnit works fine there.... But in my application, all JSPs have method = "post" and here I get this problem when I click on the link on the first form. "com.gargoylesoftware.htmlunit.ScriptException: Wrapped com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException: 404 Not Found for " Regards, Santunu Julien HENRY <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12/02/2007 14:41 Please respond to Usage problems for JWebUnit <[email protected]> To Usage problems for JWebUnit <[email protected]> cc Subject [JWebUnit-users] Re : Problem : Redirect requested but followRedirects is disabled Hi, Which version of JWebUnit are you using ? Redirection is enabled by default since 1.3 (at least). ++ Julien ----- Message d'origine ---- De : Santunu Podder <[EMAIL PROTECTED]> À : [email protected] Envoyé le : Lundi, 12 Février 2007, 13h24mn 39s Objet : [JWebUnit-users] Problem : Redirect requested but followRedirects is disabled Hi All, I am new to JWebUnit and would require some help to proceed with. I have a JSP with form method specified as 'post'. I have written a JWebUnit testcase to assert the UI. But I get the following error after the execution of the following line : clickLink("submit"); Redirect requested but followRedirects is disabled. The console seems to printing the error page. Has anyone faced the same error ? What is the work-around ? As I have implemented my web layer using "Spring MVC", I will not be able to change my method to use 'get'. Thanks, Santunu This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Close Premium Finance shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Close Premium Finance does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Close Premium Finance shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Close Premium Finance does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. Close Premium Finance shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Close Premium Finance does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JWebUnit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-users
