Using Collections.copy for list

Sunday, March 14th, 2010

Using java Collections to copy array list I have seen lot’s of people using Collections.copy and most of times you see this error on console Exception in thread "main" java.lang.IndexOutOfBoundsException: Source does not fit in dest. Normally we use following code to copy an array-list ArrayList<String> items = new ArrayList<String>(); items.add("item 1"); items.add("item 2"); items.add("item [...] Read more »

  • Delicious
  • Yahoo Buzz
  • Digg
  • DZone
  • Facebook
  • LinkedIn
  • Twitter
  • Share/Bookmark

Dealing with Multiple Outlook profiles

Sunday, June 21st, 2009

Recently I was on client site of one of my companies prestigious client for the gathering of some new business requirement and understanding of their existing work model. I faced a typical yet very common problem which i think most of you have faced on your clientele’ visit. Dealing with multiple outlook profiles specially when [...] Read more »

  • Delicious
  • Yahoo Buzz
  • Digg
  • DZone
  • Facebook
  • LinkedIn
  • Twitter
  • Share/Bookmark

Jetspeed2 Statistics Engine

Wednesday, February 25th, 2009

Jetspeed 2 has inbuilt feature of statics, statics engine track all the portlet, pages and users. All this information stored in database. so can be access and used any time. statics engine keep track of Number of time served Max time taken in executing page/portlet Avg time taken in executing page/portlet Min time taken in [...] Read more »

  • Delicious
  • Yahoo Buzz
  • Digg
  • DZone
  • Facebook
  • LinkedIn
  • Twitter
  • Share/Bookmark

Configure Forget password in Jetspeed2

Wednesday, February 25th, 2009

In Jetspeed 2 portal registered users can retrieve there password using via email. In lot of instance portal administrator doesn’t configure mail server properly, Which causes this problem. Portal Administrator should fill following configuration in administration.xm under (WEB-INF/assembly/) to enable mail sending from jetspeed 2 <beans> <bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="host"><value>localhost</value></property> <property name="username"><value></value></property> <property name="password"><value></value></property> [...] Read more »

  • Delicious
  • Yahoo Buzz
  • Digg
  • DZone
  • Facebook
  • LinkedIn
  • Twitter
  • Share/Bookmark