There are several examples of doing what you describe. Take a look at the JSP Stock Quote portlet.
Best regards, Mark Orciuch - [EMAIL PROTECTED] Jakarta Jetspeed - Enterprise Portal in Java http://jakarta.apache.org/jetspeed/ > -----Original Message----- > From: Andy Benjamin [mailto:[EMAIL PROTECTED] > Sent: Monday, May 26, 2003 4:02 PM > To: [EMAIL PROTECTED] > Subject: Best Practices in Design > > > Hi everyone, > > I have a question that deals with best practices and design. I have an > action class that does the work to get the customized information > out of a > portlet. My question then is how should I get that information into the > jsp? Should I take that information and place it in the session > so that the > jsp then looks for a particular attribute in the session? If I > do that then > conceivably I couldn't have two portlets of the same type on the > same page > because they would be using the same session variables to pass > information > to the jsp. > > To illustrate, let's say that I have a portlet that gets my > sports links and > displays them. I want to reuse the same portlet to have a list of my > financial links. Is there anyway to get the action class to communicate > with the jsp so that two portlets and their action classes don't > overwrite > the other portlet's data when they try and communicate with the > jsp? Thanks > in advance. > > Andy > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > --------------------------------------------------------------------- > 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]
