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 
http://fr.answers.yahoo.com
-------------------------------------------------------------------------
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

Reply via email to