Hi Valdis,
On Thu, Apr 22, 2010 at 11:17, Valdis Vītoliņš wrote:
> Xwiki allows to redirect from one xwiki page to other using
> $response.sendRedirect("http://new_url";) code.
> Though response header status ir 302 (found, i.e. moved temporarily),
> but I need 301 (moved permanently).
> Is it way to set this status for response?
>
I'd try playing with
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#setStatus(int)if
I were you.
Guillaume
> Valdis
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users