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