Skip to content

Latest commit

 

History

History
6 lines (3 loc) · 653 Bytes

README.md

File metadata and controls

6 lines (3 loc) · 653 Bytes

This is a native Java JSR286 portlet, that connects to a remote web app, parses its response and alters its HTML body.

Supports GET and POST, and reads cookies from the server and stores them to the PortletSession.

The Rails response is being processed by HTML Parser. Each HTML node is being traversed in the and sections. The title of the page is being set as the portlet title. JavaScripts and CSS links are being included onto the portlet's body HTML. In the body, the links and forms are transformed to PortletUrls and ActionRequests. Image URLs are also modified to take account the servlet.