Include in RAP [message #640805] |
Tue, 23 November 2010 09:13 |
|
Hi,
I have a question: it is possible to integrate the RAP technology with other technology such as JSP and JSF?
I think an application realized in RAP (as basic structure) and inside a view I include a JSF page.
Is it possible?
If not, what are the technology which can be integrated with RAP?
Thak you for making yourself available.
Best regards
Gabriele
|
|
|
|
Re: Include in RAP [message #640923 is a reply to message #640842] |
Tue, 23 November 2010 14:57 |
|
Hi Tim,
thank you for your reply.
Can you show me an example of the use of the widget.Bowser?
I have google, but I found examples which set as url addressing to an external site.
I can't address my browser to a local html (or jsp) page.
I think that I have to define in my MANIFET.MF, the HttpContext, resource and servlet (from the package org.eclipse.equinox.http.registry).
Moreover, using the browser-widget (which target a local jsp/jsf/servlet) I can share a session variable between the RAP application and the local application? Now I access the session map through:
RWT.getSessionStore().getHttpSession().setAttribute("key", object);
Thanks in advance for making yourself available
Gabriele
|
|
|
Re: Include in RAP [message #641127 is a reply to message #640923] |
Wed, 24 November 2010 10:39 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
Okay, i assumed that you just wanted to load a jsp page in your
RAP-application. As i understand it now, you want it also served by RAP.
I don't know if and how that would be possible.
In any case you can register static html files, check our FAQ for that:
http://wiki.eclipse.org/RAP/FAQ#How_to_register_a_file.2Ffol der_as_resource.3F
You can try it with an JSP and see what happens.
Greetings,
Tim
Am 23.11.2010 15:57, schrieb Gabriele:
> Hi Tim, thank you for your reply.
> Can you show me an example of the use of the widget.Bowser?
> I have google, but I found examples which set as url addressing to an
> external site.
>
> I can't address my browser to a local html (or jsp) page.
>
> I think that I have to define in my MANIFET.MF, the HttpContext,
> resource and servlet (from the package org.eclipse.equinox.http.registry).
>
> Moreover, using the browser-widget (which target a local
> jsp/jsf/servlet) I can share a session variable between the RAP
> application and the local application? Now I access the session map
> through:
>
>
> RWT.getSessionStore().getHttpSession().setAttribute("key", object);
>
>
> Thanks in advance for making yourself available
>
> Gabriele
|
|
|
Powered by
FUDForum. Page generated in 0.02953 seconds