You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by Luis Montes <mo...@gmail.com> on 2009/12/17 00:17:14 UTC
Spring MVC portlets don't work correctly with pluto 2.0.0
They worked fine with 1.x
In a porltet JSP file, calling request.getContextPath() gives the portal app
"/pluto" and not the portlet app's context path.
Any ideas how to fix this?
Thanks,
Luis
Re: Spring MVC portlets don't work correctly with pluto 2.0.0
Posted by Luis Montes <mo...@gmail.com>.
Looks like its not just a spring MVC problem.
JSPs called by a portlet have this problem. request.getContextPath()
changed between pluto 1.x and 2.0
You need to use the portlet taglib to get the context path from the
portletrequest.
I believe this is a bug in pluto 2.0
Should I file a bug report somewhere?
Luis
On Wed, Dec 16, 2009 at 4:17 PM, Luis Montes <mo...@gmail.com> wrote:
> They worked fine with 1.x
>
> In a porltet JSP file, calling request.getContextPath() gives the portal
> app "/pluto" and not the portlet app's context path.
>
>
> Any ideas how to fix this?
>
> Thanks,
>
> Luis
>
>