RE: error on starting the weblogic server

2002-03-11 Thread Dua, Amit
config_1_0.dtd. make sure your elemenst in the struts-config are in the following order. -- -- -- -- -Original Message----- From: Dua, Amit [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 9:47 AM To: 'Struts Users Mailing List' Subject: error on starting the weblogic serv

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:

sorting a collection obtained through iterate tag

2002-03-01 Thread Dua, Amit
Is there a way in struts to sort the collection based on one of the properties during iteration. Amit -- To unsubscribe, e-mail: For additional commands, e-mail:

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 Lis

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 k

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 or any other comparison tag compares the value with a constant. any suggestions. Thanks Amit -Original Message- From: Boyalla, Raveendra [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: For additional commands, e-mail:

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: For additional commands, e-mail:

RE: ActionForm and default values

2002-02-20 Thread Dua, Amit
But then how will I set the default values amit -Original Message- From: Keith [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 10:36 AM To: Struts Users Mailing List Subject: Re: ActionForm and default values try removing the value= attribute from your wrote: > Hi > >

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 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 14

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

RE: properties file in action class

2001-11-14 Thread Dua, Amit
let's init code 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

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: For

incrementing a number

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

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

RE: prob. with collections

2001-10-19 Thread Dua, Amit
you want. Try this. -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 <%=list%> it works fine as my collection

RE: prob. with collections

2001-10-19 Thread Dua, Amit
:22 PM To: [EMAIL PROTECTED] Subject: RE: prob. with collections which did you do: ? That would not have given you the exception you mentioned, puting would have. CB "Dua, Amit" <[EMAIL PROTECTED]> on 10/19/2001 02:18:00 PM Please respond to [EMAIL PROTECTED] To

RE: porb:

2001-10-19 Thread Dua, Amit
the following. -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 attribute 'name' not spec

RE: prob. with collections

2001-10-19 Thread Dua, Amit
: 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 <%=list%> Is there anyway of getting rid of <%=list%> in above code

RE: porb:

2001-10-19 Thread Dua, Amit
ent: Friday, October 19, 2001 2:53 PM To: '[EMAIL PROTECTED]' Subject: RE: porb: -----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 of <%=variable1%> in stuts

prob. with collections

2001-10-19 Thread Dua, Amit
Hi I have a collection of string which I am displaying through <%=list%> Is there anyway of getting rid of <%=list%> in above code

porb:

2001-10-19 Thread Dua, Amit
how to write equivalent of <%=variable1%> in stuts