[Red5] Accessing red5 webroot from webapp

Paul Nykamp paulnykamp at gmail.com
Tue Aug 11 15:02:22 PDT 2009


Hi,

Can someone please help with this, can’t find an answer on the web.

I'm trying to forward from a servlet in my red5 webapp to and html page in
the red5 webroot, but having no luck.

Here is the code in my servlet:



                public void service (HttpServletRequest request,
HttpServletResponse response)

                                throws ServletException, IOException {



                                RequestDispatcher rd =
request.getRequestDispatcher("/index.html");

                                rd.forward(request, response);



                }



I'm getting the webapp scope, how do I access the webroot?

Not sure if this is the best list for this post, if not can someone suggest
an appropriate one?



Thanks,

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090811/53a21395/attachment.html>


More information about the Red5 mailing list