[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread arvind_pv
Hi, I'm also a newbie to the Portal Specification, please check the code given below. | public class SearchPortlet extends GenericPortlet { | private boolean resultsFlag = false; | public static final String VIEW_RESULT = /jsp/Results.jsp; | public static final String

[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread bsmithjj
Hello, Your portlets should be designed thread safe - like servlets. So your usage of an instance variable, resultsFlag, will only work as long as your portlet handles a single request from a single user. The moment two different users use invoke the processAction(), you will have contention

[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread arvind_pv
Hi bsmithjj, I thank you for giving me valuable suggestion. Arvind View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909463#3909463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909463

[JBoss-user] [JBoss Portal] - Re: processAction in Jboss portals

2005-11-28 Thread udaiibhaskar
Hi bsmithjj and arvind, Thank for ur help. bye, uday. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3909469#3909469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3909469