Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[09:16:40 CDT(-0500)] <EricDalquist> the ajax in a 1.0 portlet approach results in a POST then 302 redirect to a servlet

[09:17:19 CDT(-0500)] <EricDalquist> the POST is done to an action URL so that the portlet can handle the request, it sets up the data to return and sticks it in the session then redirects to a servlet

[09:17:28 CDT(-0500)] <EricDalquist> and the servlet actually writes the data out from the session

[09:17:40 CDT(-0500)] <Arvids> yes, i'm familiar with that workflow

[09:17:42 CDT(-0500)] <EricDalquist> where as the resource approach is just a single request

[09:18:03 CDT(-0500)] <EricDalquist> the portal passes it on to the portlet for handling and simply returns whatever the portlet returns

[09:18:13 CDT(-0500)] <Arvids> ok