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
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
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
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