Thanks for the response KT. After trying both of these options we decided to use the struts-portlet bridge.
Tim -----Original Message----- From: Khaled TLILI [mailto:[EMAIL PROTECTED] Sent: Thursday, February 22, 2007 9:46 AM To: [email protected] Subject: Re: Jahia 4 Versus Jahia 5 Portlets Tim Pyle a écrit : > I've started to deploy some portlets/webapps to Jahia 5 and the only way I > can get these to be visible by Jahia is to define them as true portlets > (using the portlet api and a portlet.xml file). For old jahia webapp you must'nt add portlet.xml . If you do that, it will be processed as a portletJSR168 and not as a jahia webapp. > Many of the > portlets/webapps I want to port into Jahia 5 were basic struts web > applications we used in Jahia 4. You can use struts-portlet bridge See http://portals.apache.org/bridges/multiproject/portals-bridges-struts/index. html. An example of a portlet using that bridge is available here: http://portals.apache.org/bridges/multiproject/jpetstore/index.html > Can I deploy a basic non portlet api web > application in Jahia 5? Yes you cant, deploy it as any portlet. Do you have a file named jahia.xml in your web-inf directory? If this file does'nt exist, you have to write it. An exemple of this file is available here: <jahia> <entrypoints> <entrypoint> <name>WebClipping</name> <display-name>WebClipping</display-name> <description></description> <target type="servlet-name">WebClippingServlet</target> </entrypoint> </entrypoints> </jahia> > If so any help on how to do this would be > appreciated. > > Thanks, > Tim > > Regards, KT
