You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by sqlien <sm...@yahoo.fr> on 2007/10/18 15:28:52 UTC
how to get objects request and session in service implementation
class
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.
Re: how to get objects request and session in service
implementation class
Posted by sqlien <sm...@yahoo.fr>.
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" <sm...@yahoo.fr>
>
>
>>
>> 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.
Re: how to get objects request and session in service implementation
class
Posted by Jacques Le Roux <ja...@les7arts.com>.
It depends of the context, there are plenty of examples available in code. Look for "request =" and "session ="
Jacques
De : "sqlien" <sm...@yahoo.fr>
>
> 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.
>