Skip to content

tulios/html2jsr286

 
 

Repository files navigation

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.

About

JSR286 portlet bridge for HTML over HTTP. Supports standard REST requests and cookies.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%