error on starting the weblogic server

2002-03-11 Thread Dua, Amit
Hi I am getting this error on running struts on my weblogic server. Can anyone tell me why I am getting this. Parse Error at line 237 column 17: The content of element type struts-config must match (data-sources?,form-beans?,global-forwards?,action-mappings?).org.xml.sax. SAXParseException:

RE: error on starting the weblogic server

2002-03-11 Thread Dua, Amit
.dtd. make sure your elemenst in the struts-config are in the following order. --data-sources --form-beans --global-forwards --action-mappings -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 9:47 AM To: 'Struts Users Mailing List' Subject: error

logic.equal tag

2002-02-25 Thread Dua, Amit
Is there a way of comparing two session variables using struts logic tag. Or we can only compare variables with constants Amit -Original Message- From: Ditlinger, Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 1:27 PM To: '[EMAIL PROTECTED]'; 'Struts Users Mailing

logic tag

2002-02-22 Thread Dua, Amit
Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I know is the logic:equal / or any other comparison tag compares the value with a constant. any suggestions. Thanks Amit -Original Message- From: Boyalla, Raveendra

RE: logic tag

2002-02-22 Thread Dua, Amit
no response from any one so far -Original Message- From: Dua, Amit Sent: Friday, February 22, 2002 12:03 PM To: 'Struts Users Mailing List' Subject: logic tag Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I know

dynamic input fields

2002-02-21 Thread Dua, Amit
Hi I have a view(a jsp) which gets its Input fields Dynamically. The number of input field is not constant. how can I create Action form in this scenerio. Thanks Amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

dynamic input fields

2002-02-21 Thread Dua, Amit
Hi I have a view(a jsp) which gets its Input fields Dynamically. The number of input field is not constant. how can I create Action form in this scenerio. Thanks Amit -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: ActionForm Defaults/Updates Question

2002-02-20 Thread Dua, Amit
Hi I tried doing the same. but when there is an error in the page , it does not retreive the values from the form bean. I am validating in action class for all type of errors. Amit -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

ActionForm and default values

2002-02-20 Thread Dua, Amit
Hi I want to populate my page with default value So, in order to do that I have a value object (ReportData), ReportDataForm (Form Bean) I populate the Value object through one of the Action classes and then do a Action Forward to one of the Jsp namely ReportData.jsp In the ReportData.jsp I

RE: ActionForm and default values

2002-02-20 Thread Dua, Amit
that helps. --- Dua, Amit [EMAIL PROTECTED] wrote: Hi I want to populate my page with default value So, in order to do that I have a value object (ReportData), ReportDataForm (Form Bean) I populate the Value object through one of the Action classes and then do a Action Forward to one

problem with FormBean

2002-02-13 Thread Dua, Amit
Hi I am using form bean for the first time in struts . I wrote a simple form bean which sets and gets values. Also, I override the validate method in form bean with my logic. My action class does not do anything other than forwarding the control to some xyz jsp on success. So, now when I put in

properties file in action class

2001-11-14 Thread Dua, Amit
Hi if I have to load a properties file in my action class. I can do it in perform method. But I want to do it in init of Action Servlet , so that it does not get loaded every time a call is made to the action class.How can I do this. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: properties file in action class

2001-11-14 Thread Dua, Amit
and make it available // to your actions. } } Just an idea... Andrej PS. You'll also have to change the struts-config.xml to point to your MyActionServlet. -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 3:11 PM To: 'Struts Users

prob. with collections

2001-10-19 Thread Dua, Amit
Hi I have a collection of string which I am displaying through logic:iterate id=list name=filelist property=file tr td %=list% /td tr Is there anyway of getting rid of %=list% in above code

RE: porb:

2001-10-19 Thread Dua, Amit
PROTECTED]] Sent: Friday, October 19, 2001 2:53 PM To: '[EMAIL PROTECTED]' Subject: RE: porb: bean:write property=variable1/ -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 12:24 PM To: '[EMAIL PROTECTED]' Subject: porb: how to write equivalent

RE: prob. with collections

2001-10-19 Thread Dua, Amit
/ -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 1:43 PM To: '[EMAIL PROTECTED]' Subject: prob. with collections Hi I have a collection of string which I am displaying through logic:iterate id=list name=filelist property=file tr td

RE: porb:

2001-10-19 Thread Dua, Amit
be the following. bean:write name=SOME BEAN NAME property=SOME PROPERTY / -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:16 PM To: '[EMAIL PROTECTED]' Subject: RE: porb: it did not work it threw this exception /current-report1.jsp(18): required

RE: prob. with collections

2001-10-19 Thread Dua, Amit
the exception you mentioned, puting bean:write property=name/ would have. CB Dua, Amit [EMAIL PROTECTED] on 10/19/2001 02:18:00 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc: Subject: RE: prob. with collections it did not work -Original Message

RE: prob. with collections

2001-10-19 Thread Dua, Amit
on it called getName(). That is not what you want. Try this. bean:write name=list / -Original Message- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:38 PM To: '[EMAIL PROTECTED]' Subject: RE: prob. with collections i have written this code logic:iterate id

RE: porb:

2001-10-19 Thread Dua, Amit
thanks Vanzin -Original Message- From: Marcelo Vanzin [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 3:59 PM To: [EMAIL PROTECTED] Subject: Re: porb: Dua, Amit wrote: so, you mean to say that I will have to create a bean for doing this Not necessarily. You do

incrementing a number

2001-10-19 Thread Dua, Amit
how to increment a variable using struts in jsp pages equivalent of % for(i=0;i10;i++){ % tr td =%i% /td /tr %} %