I dont found how to use the object request in my method. my problem is to
make a service of authentification and reuse the methode
login(HttpServletRequest request, HttpServletResponse response) idefined in
the class  LoginWorker.  this method uses the object request. in my
following method can i invoke the method login for export the
authentification service:


public static Map login(DispatchContext dctx, Map context){

}

Thank you in advance

jacques.le.roux wrote:
> 
> It depends of the context, there are plenty of examples available in code.
> Look for "request =" and  "session ="
> 
> Jacques
> 
> De : "sqlien" <[EMAIL PROTECTED]>
> 
> 
>>
>> Hi,
>> in my method I want to get request and session objects. how to do this ?
>> public static Map login(DispatchContext dctx, Map context) throws
>> GenericServiceException {
>>         .
>>      ....................
>>      ....................
>>
>>         return result;
>>     }
>>
>> Regards
>> -- 
>> View this message in context:
> http://www.nabble.com/how-to-get-objects-request-and-session-in-service-implementation-class-tf4646651.html#a13273510
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-get-objects-request-and-session-in-service-implementation-class-tf4646651.html#a13289740
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to