Skip to Content
0
Former Member
May 25, 2005 at 08:10 AM

create JCO Client in JSP

35 Views

Hi all,

I have the following problem: How I can create the JCOClient in the JSP? In the AbstractPortalContent I use this code

IJCOClientService clientService = (IJCOClientService request.getService("jcoclient");

IJCOClientPoolEntry poolEntry;

try

{

poolEntry = clientService.getJCOClientPoolEntry("SAP_cFolders", request);

}catch (Exception e)

{

response.write("Error obtaining connection: " + e);

return;

}

JCO.Client client = null;

client = poolEntry.getJCOClient();

client.connect();

In the JSP I don't able to create the JCO.Client.

Someone can help me?

Thanks in advance,

Stefano