Hi,

I am having troubles with HTTP Headers while testing a Servlet. This
is the scenario:

  1 - Invoke a JSP, which makes a POST request to a Servlet.
  2 - The servlet processes the request and, at some point, makes a
sendRedirect to another servlet.
  3 - The sencond servlet now checks if the HTTP header "Referer" is
set before continuing on processing the request.

The header is null at the third step if I use jwebunit, at the second
one it has a value but it is lost after sendRedirect. If the request
is made by a web browser the header keeps its value after the
redirect.

�What can I do to solve this problem?

Regards,

Juan Salvador


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Jwebunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-users

Reply via email to