Fabien Lesire wrote:
> 
> Hello,
> 
> I Have the following code :
> 
> public void beginDoFLow(ServletTestRequest theRequest) {
>         theRequest.addParameter("NEXT","order/ord.jsp");
> }
> 

"theRequest" - add to the request.


>                 assertEquals("order/ord.jsp",
> (String)session.getValue("NEXT"));

session.getValue...

unless the call before is putting the parameter value into the session
then this is your problem. you are adding to the request, then checking
the session :)

Jari
--
Jari Worsley
Senior Programmer
Hyperlink Interactive Ltd

Reply via email to