In ActionForm i have property of type Collection(ArrayList).
In Arraylist i have Javabean Objects with scalary properties(getters and
setters).

Each objects represents a row in of data in my jsp.

-----Original Message-----
From: Fabian Sergio de Rosa [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 08, 2006 4:09 PM
To: Jakarta Commons Users List; [EMAIL PROTECTED]
Subject: Re: FW: Struts + Commons 500 error


sorry for the wrong responses, i was triying to recover the error, but i
don't know what are you using to walk the arraylist
<nested:iterate?

2006/7/8, Raghuveer <[EMAIL PROTECTED]>:
>
> I didn't set collection=null  in reset ,since i need the same collection
> data when Clicked NEXT in first page.
> So i can't reset this variable.
>
> i.e i amd resetting innaction class when ever the latest varibale to bet
> set
> for setters.
> Could you recap what you have done for such problem ?
> What do you mean by below statments?.Could you elobrate !!
> >>2 or
> >>3 resets i think that you must redefine the first in the hierarchy of
> forms
>
>
>
> -----Original Message-----
> From: Fabian Sergio de Rosa [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 08, 2006 1:30 PM
> To: Jakarta Commons Users List; [EMAIL PROTECTED]
> Subject: Re: FW: Struts + Commons 500 error
>
>
> you had the trouble when you try to re login?
> i had the same trouble with the collections, i don't remember to much. but
> i
> think that the problem don't back when i reset the fucking collections  =>
> colection = null; <= in the reset method but if you use struts you had 2
> or

> 3 resets i think that you must redefine the first in the hierarchy of
> forms
>
> 2006/7/8, Raghuveer <[EMAIL PROTECTED]>:
> >
> > No ,i am using the same form and handling  it for 5 jsp pages.All data
> in
> > 5
> > pages to be in session when clicked "BACK"
> > and "NEXT" buttons.
> > So i have used same Actionform in all 5 jsp pages.
> >
> > In My First page i have UPLOAD CSV File facilty where user can upload
> > data.Once the user upload csv file,
> > data is shown in jsp page.
> > Same data is shown in all 5 pages.
> > But When session expires i am able to navigate to login.jsp page by
> GLobal
> > Exception but in my first jsp page i am getting below error.
> >
> > I am using Nested tags.
> >
> >
> >
> > -----Original Message-----
> > From: Fabian Sergio de Rosa [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, July 08, 2006 1:04 PM
> > To: Jakarta Commons Users List; [EMAIL PROTECTED]
> > Subject: Re: FW: Struts + Commons 500 error
> >
> >
> > if you try with another form that uses collections tags the problem
> > persists?
> >
> > 2006/7/8, Raghuveer <[EMAIL PROTECTED]>:
> > >
> > > It is not happening throught my web application.
> > > It is happening in only one page,it has form file object and display
> of
> > > collection content in actionform.
> > >
> > > -----Original Message-----
> > > From: Fabian Sergio de Rosa [mailto:[EMAIL PROTECTED]
> > > Sent: Saturday, July 08, 2006 12:46 PM
> > > To: Jakarta Commons Users List; [EMAIL PROTECTED]
> > > Subject: Re: FW: Struts + Commons 500 error
> > >
> > >
> > > when you session expires, you say the problem. When your session
> expires
> > > the
> > > form that is alocaded in session is droped like every thing that is in
> > > your
> > > session, you must control or show that the session expires. or maybe
> you
> > > want to change the session's time to live.
> > >
> > > 2006/7/8, Raghuveer <[EMAIL PROTECTED]>:
> > > >
> > > >
> > > > When session expires in my JSP i am getting following error.
> > > >
> > > > I am using Struts Nested tags and validator framework.
> > > > I am always using the collection in my actionform with Present,Empty
> > > tags
> > > > always in my JSP.
> > > >
> > > >
> > > > <nested:present name="testActionForm" scope="session">
> > > >
> >
> > >
> >
> <nested:notEmpty  name="testActionForm"  property="arlCollectionBeanData"
> > > > >
> > > >
> > > > Experts,please share your comments..!!
> > > >
> > > >
> > > >
> > > > 06/07/08 11:55:24 test: Servlet error
> > > > java.lang.IndexOutOfBoundsException: Index: 4, Size: 0
> > > >         at java.util.ArrayList.RangeCheck(Unknown Source)
> > > >         at java.util.ArrayList.get(Unknown Source)
> > > >         at
> > > > org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty
> > > > (PropertyUt
> > > > ilsBean.java:433)
> > > >         at
> > > > org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty
> > > > (PropertyUt
> > > > ilsBean.java:340)
> > > >         at
> > > > org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty
> > > > (PropertyUti
> > > > lsBean.java:684)
> > > >         at
> > > > org.apache.commons.beanutils.PropertyUtilsBean.getProperty
> > > > (PropertyUtilsBean
> > > > .java:715)
> > > >         at
> > > > org.apache.commons.beanutils.BeanUtilsBean.setProperty(
> > > BeanUtilsBean.java
> > > > :88
> > > > 4)
> > > >         at
> > > > org.apache.commons.beanutils.BeanUtilsBean.populate(
> BeanUtilsBean.java
> > > > :811)
> > > >         at org.apache.commons.beanutils.BeanUtils.populate(
> > > BeanUtils.java
> > > > :298)
> > > >         at org.apache.struts.util.RequestUtils.populate(
> > > RequestUtils.java
> > > > :493)
> > > >         at
> > > > org.apache.struts.action.RequestProcessor.processPopulate(
> > > > RequestProcessor.j
> > > > ava:804)
> > > >         at
> > > > org.apache.struts.action.RequestProcessor.process(
> > RequestProcessor.java
> > > > :203)
> > > >         at org.apache.struts.action.ActionServlet.process(
> > > > ActionServlet.java:1196)
> > > >         at org.apache.struts.action.ActionServlet.doPost(
> > > > ActionServlet.java:432)
> > > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java
> > :760)
> > > >         at javax.servlet.http.HttpServlet.service(HttpServlet.java
> > :853)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0
> > > > )].server.http.ServletRequestDispatcher.invoke(ServletRequestDispa
> > > > tcher.java:765)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0
> > > > )].server.http.ServletRequestDispatcher.forwardInternal(ServletReq
> > > > uestDispatcher.java:317)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0
> > > > )].server.http.HttpRequestHandler.processRequest(HttpRequestHandle
> > > > r.java:790)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0)].server.http.HttpRequestHandler.run(
> > HttpRequestHandler.java
> > > > :270)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0)].server.http.HttpRequestHandler.run(
> > HttpRequestHandler.java
> > > > :112)
> > > >         at com.evermind[Oracle Application Server Containers for
> J2EE
> > > 10g
> > > > (9.0.4.0.0
> > > > )].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe
> > > > sourcePooledExecutor.java:186)
> > > >         at java.lang.Thread.run(Unknown Source)
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to