We have been using the session variable to achieve the interportlet communication. Basically, your news portlet needs to get the request URL from the session first. In your News title, the link will invoke the same request URL and pass in the news url as an additional session variable. Your viewing portlet should get the news url from the session and display the url. We are using this approach in our JSP portlets and it works fine so far. Hope this helps. Andy
-----Original Message----- From: Maruthi [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 4:08 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Interportlet communication Hello Everybody, I have a JSP which is displaying the News Titles from mysql database. When i click(titles should have a link) on a particular title the corresponding description of news should be displayed(from datbase) in a separete(another) portlet. My Datbase is like this ::Table name -News These are the columns in the news table :: Title of News-Description of news-Date(News will be sorted by date) I could display the JSP with news titles.I dont know how to manage interportlet communication (one JSP to another JSP)..can anybody give guidelines who had idea in this regard?. Thank you, Maruthi. --------------------------------- Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
