If you need to use JSP as your template, I would suggest using the GenericMVCPortlet with the viewtype set to JSP. You kind find an example of a GenericMVCPortlet in the demo-portlets.xreg (PortletSearch). In this case, the template is velocity.
In answer to your questions: 1) There can be only 1 action associated with a portlet. However, you can use action events to provide methods that are distinct in nature. Look at the RegistryUpdateAction as an example. 2) If by page, you mean psml, multiple psmls can contain references to the same portlet. Also, the same portlet can appear multiple times in the same psml. 3) It is possible to change the current template of the portlet by calling the setTemplate method. As an example, the doMyaction method could set the next template that is displayed based on success or failure of the method. 4) Nothing that I can think of. Jeremy Ford [EMAIL PROTECTED] -----Original Message----- From: Vijay Shrivastava [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 11:21 AM To: Jetspeed Users List Subject: Jetspeed with JSP I need to use JSP as templating engine for an application hosted within Jetspeed. I have few questions in this regard any suggestion is appreciated? 1. When using JSP is it possible to attach multiple Action classes to one portlet? 2. Is there any guidelines how many pages should map to one portlet? 3. Is there any way via configuration file that I can provide mappings of output page (result) based on different values. I would like to define something lie onsuccess="search.jsp" onerror="index.jsp" onfail="error.jsp" and have this information to be available to my Action class(es). 4. Other consideration when using JSP within Jetspped? Thanks, Vijay --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
