Enabling transcoding
If you have a Struts portlet project for WebSphere Portal v5.0 that has HTML or XML files that contain content, you should enable the transcoding capability.
If you want to use the transcoding capability of WebSphere Portal while debugging locally, you need to enable transcoding. In the WebSphere Portal Test Environment server, it is disabled by default to reduce the startup time of the server in debug mode. Transcoding is enabled by default on a WebSphere Portal Server Attach server.
Transcoding is enabled or disabled by entries in three files, which are
- RAD_HOME/runtimes/portal_vXX/shared/app/config/services/PortletFilterService.properties
- RAD_HOME/runtimes/portal_vXX/shared/app/config/services/PortalFilterService.properties
- RAD_HOME/runtimes/portal_vXX/shared/app/config/services.properties
To enable or disable transcoding, choose one of these options:
- To enable transcoding, uncomment the lines which are commented out with #DisableTranscoding in the three files listed above (remove the #).
- To disable transcoding, comment out the lines which start with DisableTranscoding in the three files listed above (start the line with a #).
Related concepts
Debugging portlets
Related tasks
Debugging portlets locally