users@grizzly.java.net

Re: JSP support

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Fri, 6 May 2011 11:23:52 -0400

You could check Grizzly deployer. I put an example how to support jsp or
other technologies like freemarker, php...
On May 6, 2011 11:15 AM, "Raphael JOLIVET" <raphael.jolivet_at_gmail.com>
wrote:
> Hello,
>
>
> I am using Grizzly (1.9.34) as a standalone web server to host a Jersey
> servlet.
> I am willing to use JSP.
>
>
> For that, I do the following in my Jersey Servlet:
>
>
> return new Viewable("my-jqp-page", model);
>
>
> However I recieved the folowing error :
>
>
> java.lang.UnsupportedOperationException: Not supported yet.
> at
>
com.sun.grizzly.http.servlet.ServletContextImpl.getRequestDispatcher(ServletContextImpl.java:375)
>
>
>
> I have learned that it was because Grizzly does not support JSP pages
alone.
> Therefore, I have also downloaded the "contrib" "jsp-support".
>
>
>
> How am I supposed to register this into my instance of Grizzly so that it
> serves JSP pages ?
>
>
> Thanks in advance for your help,
>
> Brgds,
>
>
> Raphael
>
>
> --
> View this message in context:
http://grizzly.1045725.n5.nabble.com/JSP-support-tp4375775p4375775.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.