Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » How safe is to send two parameters of the same type?
How safe is to send two parameters of the same type? [message #578639] Thu, 05 February 2009 08:29
Velganesh Subramanian is currently offline Velganesh Subramanian
Messages: 67
Registered: July 2009
Member
Please excuse if this is a classical question w.r.to remote calls.

I have to send two dates to the server. The type is GregorianCalendar. I
programmed as individual parameters as well as wrapped in an object. I
debugged the reflection call and all is well in the client. But on the
server, the second value is overwritten with the first value. What am I
doing wrong? Can you please suggest an alternative?

fromDate
java.util.GregorianCalendar[time=1233837733852,areFieldsSet= true,areAllFieldsSet=true,lenient=true,zone=sun.util.calenda r.ZoneInfo[id= "Asia/Calcutta" ,offset=19800000,dstSavings=0,useDaylight=false,transitions= 6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,E RA=1,YEAR=2009,MONTH=1,WEEK_OF_YEAR=6,WEEK_OF_MONTH=1,DAY_OF _MONTH=5,DAY_OF_YEAR=36,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1 ,AM_PM=1,HOUR=6,HOUR_OF_DAY=18,MINUTE=12,SECOND=13,MILLISECO ND=852,ZONE_OFFSET=19800000,DST_OFFSET=0]


tillDate
java.util.GregorianCalendar[time=1233837733852,areFieldsSet= true,areAllFieldsSet=true,lenient=true,zone=sun.util.calenda r.ZoneInfo[id= "Asia/Calcutta" ,offset=19800000,dstSavings=0,useDaylight=false,transitions= 6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,E RA=1,YEAR=2009,MONTH=1,WEEK_OF_YEAR=6,WEEK_OF_MONTH=1,DAY_OF _MONTH=5,DAY_OF_YEAR=36,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1 ,AM_PM=1,HOUR=6,HOUR_OF_DAY=18,MINUTE=12,SECOND=13,MILLISECO ND=852,ZONE_OFFSET=19800000,DST_OFFSET=0]
Previous Topic:Classloading issue
Next Topic:How safe is to send two parameters of the same type?
Goto Forum:
  


Current Time: Tue Sep 02 05:20:00 EDT 2014

Powered by FUDForum. Page generated in 0.16485 seconds