RAP running in JSP [message #79759] |
Fri, 28 March 2008 08:17  |
Eclipse User |
|
|
|
Originally posted by: me.micha-shl.de
Hey all,
I found this Thread
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg02032.html
There was this answer
>> [4] Can RAP applications live in JSP pages as embedded components, whether
>> autonomous or collaboratively, or safely obtain a reference to the servlet
>> context?
>>
> In principle it is possible to embbed a RAP application in a JSP-page but I
> think the usefulness of this approach is limited. You could think of it as
> an applet running in a web-page. The other way around - embedding JSP pages
> into RAP applications - is the more common approach. Communication between
> RAP and JSP can be achieved using the common infrastructure of the web
> application (servlet-context, sessions etc.).
I want to run a RAP application inside a Portlet. If there is no way to
accomplish this, I can do a workaround by integrating a RAP application
into a JSPage. Is there any help you can give to reach my goal.
I don`t know how I can even embedd Java- Script or snything else into JSP.
Regards
Michael
|
|
|
|
Re: RAP running in JSP [message #79973 is a reply to message #79802] |
Sat, 29 March 2008 01:16  |
Eclipse User |
|
|
|
Originally posted by: evolanakis.innoopract.com
Michael, here is a snippet. Regards, Elias.
<iframe
src="http://rap.eclipse.org/maildemo/rap?startup=maildemo"
width="400" height="400" frameborder="0"
name="maildemo">
<p>Sorry your browser does not support iframes.</p>
</iframe>
Frank Appel wrote:
> Hi,
>
> how about running the RAP application in an inline frame in the outcome
> of the JSP-Page. Then the only thing you need to do is to provide inline
> frame with the URL to the your RAP app. At least I think so...
>
>
> Ciao
> Frank
|
|
|
Powered by
FUDForum. Page generated in 0.02987 seconds