Quantcast
Channel: Comments: IBM Digital Experience wiki
Viewing all articles
Browse latest Browse all 1367

Re: How to create a servlet to use WCM API to serve File Resource Component Files

$
0
0
Wouldn't hurt to add endWorkspace(). At this Infocenter URL:



http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/topic/com.ibm.wp.zos.doc_v615/wcm/wcm_dev_api_using.html



It says:



You must call endWorkspace() when finished with the workspace item.



webContentService.getRepository().endWorkspace();



Note: You don't need to call endWorkspace() when using a JSP component as rendering and session management is handled by Web Content Management.

Viewing all articles
Browse latest Browse all 1367

Trending Articles