You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sh...@vmoksha.com on 2004/06/08 07:49:47 UTC
Dyanamic form
Hi Nikhil,
thanks a lot for your help.But we have tried thyis solution.The problem is
I need to create the ArrayList with some size which is defined at the
server end like in your action class or Struts-config.But If i add rows
dynnamically at the client add then it throws ArrayIndexOutofBound error.
Please advice .Can you send me some sample code of it.I would really
appreciate your help.
Regards
Shoaib
******************************************************************************
The information contained in this message is legally privileged and
confidential information intended only for the use of the addressed
individual or entity indicated in this message (or responsible for delivery
of the message to such person). It must not be read, copied, disclosed,
distributed or used by any person other than the addressee. Unauthorized
use, disclosure or copying is strictly prohibited and may be unlawful.
Opinions, conclusions and other information on this message that do not
relate to the official business of any of the constituent companies of the
vMoksha shall be understood as neither given nor endrosed by the Group. If
you have this message in error, you should destroy this message and kindly
notify the sender by e-mail.
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
RE: Action Forward
Posted by Shilpa Vaidya <sh...@icici-infotech.com>.
I do not hink its possible.
U will have to make an entry in struts config .xml.
Something like this...if ur doing a simple forward. w/o any action class.
regds
shilpa
for ex -
<action forward="/WEB-INF/package/pac_log.jsp" path="/pac_log" />
-----Original Message-----
From: brati.sankarghosh@tcs.com [mailto:brati.sankarghosh@tcs.com]
Sent: Tuesday, June 08, 2004 4:47 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Action Forward
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com
--
"This e-mail message may contain confidential, proprietary or legally privileged information. It
should not be used by anyone who is not the original intended recipient. If you have erroneously
received this message, please delete it immediately and notify the sender. The recipient
acknowledges that ICICI Bank or its subsidiaries and associated companies, (collectively "ICICI
Group"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views
expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of ICICI Group.Before opening any attachments please check them for viruses and defects."
RE: Action Forward
Posted by Robert Taylor <rt...@mulework.com>.
Yes.
return new ActionForward(path);
robert
-----Original Message-----
From: brati.sankarghosh@tcs.com [mailto:brati.sankarghosh@tcs.com]
Sent: Tuesday, June 08, 2004 7:17 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Action Forward
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com
Action Forward
Posted by br...@tcs.com.
Is it possible to forward to a page(html/jsp) from the Action Class
without declaring that forward in the struts-config.xml?
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: brati.sankarghosh@tcs.com
Website: http://www.tcs.com
RE: Dyanamic form
Posted by Andrew Hill <an...@gridnode.com>.
Take a look at the lazyList method in ListUtils (in commons-collections). It
should provide that for which you seek.
[http://jakarta.apache.org/commons/collections/api/org/apache/commons/collec
tions/ListUtils.html]
-----Original Message-----
From: nikhil walvekar [mailto:walvekarnikhil@yahoo.co.in]
Sent: Tuesday, 8 June 2004 17:09
To: Struts Users Mailing List
Subject: Re: Dyanamic form
Hi, Shoaib
In getter method of arrayList you must check whether index is within bounds
or not.
if not then you have to add new object (blank) to arrayList,if possible i
will send send utility class for this.
Nikhil.
shoaibm@vmoksha.com wrote:
Hi Nikhil,
thanks a lot for your help.But we have tried thyis solution.The problem is
I need to create the ArrayList with some size which is defined at the
server end like in your action class or Struts-config.But If i add rows
dynnamically at the client add then it throws ArrayIndexOutofBound error.
Please advice .Can you send me some sample code of it.I would really
appreciate your help.
Regards
Shoaib
****************************************************************************
**
The information contained in this message is legally privileged and
confidential information intended only for the use of the addressed
individual or entity indicated in this message (or responsible for delivery
of the message to such person). It must not be read, copied, disclosed,
distributed or used by any person other than the addressee. Unauthorized
use, disclosure or copying is strictly prohibited and may be unlawful.
Opinions, conclusions and other information on this message that do not
relate to the official business of any of the constituent companies of the
vMoksha shall be understood as neither given nor endrosed by the Group. If
you have this message in error, you should destroy this message and kindly
notify the sender by e-mail.
****************************************************************************
**
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Yahoo! India Matrimony: Find your partner online.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Dyanamic form
Posted by nikhil walvekar <wa...@yahoo.co.in>.
Hi, Shoaib
In getter method of arrayList you must check whether index is within bounds or not.
if not then you have to add new object (blank) to arrayList,if possible i will send send utility class for this.
Nikhil.
shoaibm@vmoksha.com wrote:
Hi Nikhil,
thanks a lot for your help.But we have tried thyis solution.The problem is
I need to create the ArrayList with some size which is defined at the
server end like in your action class or Struts-config.But If i add rows
dynnamically at the client add then it throws ArrayIndexOutofBound error.
Please advice .Can you send me some sample code of it.I would really
appreciate your help.
Regards
Shoaib
******************************************************************************
The information contained in this message is legally privileged and
confidential information intended only for the use of the addressed
individual or entity indicated in this message (or responsible for delivery
of the message to such person). It must not be read, copied, disclosed,
distributed or used by any person other than the addressee. Unauthorized
use, disclosure or copying is strictly prohibited and may be unlawful.
Opinions, conclusions and other information on this message that do not
relate to the official business of any of the constituent companies of the
vMoksha shall be understood as neither given nor endrosed by the Group. If
you have this message in error, you should destroy this message and kindly
notify the sender by e-mail.
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Yahoo! India Matrimony: Find your partner online.