voyent
jsp and icefaces3 together  XML
Forum Index -> General Help
Author Message
atomz4peace

Joined: 20/Nov/2006 00:00:00
Messages: 117
Offline


Hi,

We have a very old app that is mainly jsp based, and then years ago we added icefaces 1.8 support by doing things like:

Code:
<jsp:include page="/mypage.jspx" />
 


all over the place.

We now are thinking about upgrading to use the new ACE components and more, but are not sure how to do it. Does anyone have any ideas? I've seen posts where they say we can no longer include jsf2 pages like we did with jsp1.

I saw other posts where someone suggested creating a blank xhtml page and including the JSP into the holding page.

But the bigger challenge is all of the old JSP pages have header/footers that are not exactly standard per page, they were managed via dreamweaver long ago.

I know we can invest the time to really do templating and re-build everything, but any shortcuts you can think of? The driving force is to be able to use the ace:dataTable. We would be happy if we could just use that one component.

Thanks in advance for any great ideas!
ted.goddard

Joined: 26/Oct/2004 00:00:00
Messages: 874
Offline


A fair bit of work was done in ICEfaces 1.8 to support JSP inclusion compatibility, but this has not been investigated for ICEfaces with the move to JSF 2.0, and it's possible that JSF 2.2 is itself not designed for JSP inclusion. The starting point would be to create a HelloWorld example with JSF 2.2 embedded in a JSP page.

Another alternative would be to use an iframe, would that work in your case?
[Email]
atomz4peace

Joined: 20/Nov/2006 00:00:00
Messages: 117
Offline


Yeah, we tried one of our pages with jsf2 and it did not work.

I think an iframe might work fine. The jsp page does little more than contain header/footer and some menu links. That should be similar to our include as long as I get the style sheets and stuff.

So it sounds like our only option short of a re-write is to do an iframe to include the xhtml file instead of the jsp include.

Thank you!
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team