RE: How to handle a PopUp Form from another Form?

2001-10-23 Thread Shamdasani Nimmi-ANS004
at I have found to prevent the user from going back to the opener window. Hope this helps - Margaret -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 4:53 PM To: '[EMAIL PROTECTED]' Subject: RE: How to handle a Pop

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
u have an indexed link to partInfo.do, which you can bring up in a new window using target=. Submit etc from this window should return you to this window if error etc.. Where exactly is your difficulty? Dave Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> on 10/22/2001 04:47:25 PM Ple

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
ta in the popup form. As for the second part, could you use javascript onload function in the original page, which checks to see if popup exists, and if it does puts focus back on it? Cheers, Dave Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> on 10/22/2001 02:50:51 PM Please respon

RE: How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
Yes I do know how to open the popup form in a new window. That's the easy part. How to handle the popup form is the problem. -Nimmi -Original Message- From: Alexander Jesse [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 2:01 PM To: struts-user Subject: RE: How to handle a Pop

How to handle a PopUp Form from another Form?

2001-10-22 Thread Shamdasani Nimmi-ANS004
Hi, I am looking for suggestions on how to handle this situation: I have a grid form (i.e., a form with tabular data). One of the columns of this tabular data is "PartNumber" which when clicked on a row should popup a form in a new window bringing up all the information about this part, e.g.,

RE: How have others handled management concerns over storing databaseuserid and password in struts-c

2001-09-05 Thread Shamdasani Nimmi-ANS004
be placed. It would need to be on the classpath, but it could be kept well outside the Web server file structure. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel +1 716 737-3463 -- http://www.husted.com/about/struts/ Shamdasani Nimmi-ANS004 wrot

RE: How have others handled management concerns over storing databaseuserid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
l +1 716 737-3463 -- http://www.husted.com/about/struts/ Shamdasani Nimmi-ANS004 wrote: > > Hi, > > Here's my problem. My management feels that storing the database >account(userid/password)in the config file is a security risk. According to them a >hacker can get access to the wh

RE: How have others handled management concerns over storing database userid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
storing database userid and password in struts-config.xml? If they're not getting the firewall reasoning, you could encrypt it, using sun's JCE api's. That might help your bosses feel better. - Original Message - From: "Shamdasani Nimmi-ANS004" <[EMAIL

How have others handled management concerns over storing database userid and password in struts-config.xml?

2001-09-05 Thread Shamdasani Nimmi-ANS004
Hi, Here's my problem. My management feels that storing the database account(userid/password)in the config file is a security risk. According to them a hacker can get access to the whole database if they can get access to this info. Supposedly the security team wants to put the application ser

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-31 Thread Shamdasani Nimmi-ANS004
id(). This method will return true if the request came from the form you just returned, and false if it came from some other form, such as one previously cached by the browser. (Be sure to call resetToken() after checking, to clean up.) -- Martin Cooper - Original Message ----- From: "S

[CRAIG CAN YOU PLEASE HELP!!!]RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
you clicked that link you get NullPointerException. But if you just did browser refresh the links start working again.   Craig, if you read this email then could you please explain this session returning back situation.   TIA   -Nimmi -Original Message-From: Shamdasani Nimmi-ANS004

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
ess to pages you should require the user to be logged on. - At logon add some object to the session (I call mine singedOnUser). - When a page starts (at start of your Action class code) if that object the user is logged on so you allow access. Hope that helps Keith. --- Sh

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
ere. (every time the action servlet runs I suspect?). To restrict access to pages you should require the user to be logged on. - At logon add some object to the session (I call mine singedOnUser). - When a page starts (at start of your Action class code) if that object the user is

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
nUser). - When a page starts (at start of your Action class code) if that object the user is logged on so you allow access. Hope that helps Keith. --- Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> wrote: > I am under the impression that session.invalidate() should be > sufficient for lo

RE: STRANGE: session.invalidate() is not invalidating the session

2001-08-30 Thread Shamdasani Nimmi-ANS004
: [EMAIL PROTECTED] >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: RE: STRANGE: session.invalidate() is not invalidating the session >Date: Thu, 30 Aug 2001 10:13:40 +0200 > >i'm having the same problem , please help anyone? > >-Original Messa

STRANGE: session.invalidate() is not invalidating the session

2001-08-29 Thread Shamdasani Nimmi-ANS004
Hi, I noticed a peculiar thing. In my application I have a logout link on pages. This link control goes to 'Logout' action where I clean up the session variables and then invalidate the session with: session.invalidate(); and this class forwards it to Logout.jsp which just has the goodbye me

RE: Tomcat 4.0 frustrating problem :SOLVED

2001-08-28 Thread Shamdasani Nimmi-ANS004
Tomcat 4.0 was not able to see Oracle driver class, the path to which was specified in system classpath. Tomcat 3.2.3 had no problem finding it. Putting classes.zip file (Oracle Driver) in $JAVA-HOME/jre/lib/ext solved the problem. -Original Message- From: Shamdasani Nimmi-ANS004

Tomcat 4.0 frustrating problem

2001-08-28 Thread Shamdasani Nimmi-ANS004
Hi, I am trying to port my application (using Struts 1.0) which runs fine on tomcat 3.2.3 to tomcat 4.0 but I am getting error. I did copy the crimson.jar and jaxp.jar from JAXP1.1 to $CATALINA_HOME/lib. I did find another set of crimson.jar and jaxp.jar in $CATALINA_HOME/server/lib. Those als

RE: Please Help!!! Struts application running fine on tomcat 3.2.3 does not run on tomcat 4.0

2001-08-28 Thread Shamdasani Nimmi-ANS004
placing the oracle classes.zip in you catalina_home/lib hope this helps, rama. - Original Message - From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]> To: "struts-user@jakarta. apache. org (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 9:53 A

Please Help!!! Struts application running fine on tomcat 3.2.3 does not run on tomcat 4.0

2001-08-28 Thread Shamdasani Nimmi-ANS004
Hi, My application, which runs fine with tomcat 3.2.3, gives the error below on tomcat 4.0. I am using struts 1.0. I copied the jaxp.jar, crimson.jar and xalan.jar to CATALINA_HOME/lib. Looking at the log there seems to be problem with the datasource. I am using Oracle and my classpath has

What is this error?

2001-08-27 Thread Shamdasani Nimmi-ANS004
Hi, I decided to move my application to the latest Struts 1.1 build (20010827) and Tomcat 4.0- b7. But I am getting the error below. My application was working fine with Struts 1.0 and Tomcat 3.2.1 Could someone please help me solve it. Thanks. -Nimmi Here's the error: javax.servlet.Servlet

RE: Does the Validator package work with indexed properties?

2001-08-21 Thread Shamdasani Nimmi-ANS004
help you write your own. Here is the javadoc link for the class that is used for regular expressions. http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html David --- Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> wrote: > Hi, > > This question probably could be an

Does the Validator package work with indexed properties?

2001-08-21 Thread Shamdasani Nimmi-ANS004
Hi, This question probably could be answered best by David Winderfeldt. I want to validate some indexed fields and was wondering if I could use the "validator" package. Also where could I more info on how to write expressions for the "mask" field in ? TIA. -Nimmi

PLEASE HELP: Why is this drop-down list not working?

2001-06-26 Thread Shamdasani Nimmi-ANS004
I have a bean in application scope and I want to use one of its collection property(responseIndicatorList) in a drop-down but I keep getting an error: "No getter method for property responseIndicatorList of bean common_lists" This is how I have in my jsp: -Nimmi

RE: How do I use application scope bean in JSP?

2001-06-26 Thread Shamdasani Nimmi-ANS004
: '[EMAIL PROTECTED]' Subject: RE: How do I use application scope bean in JSP? use -Original Message----- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 3:53 PM To: struts-user@jakarta. apache. org (E-mail) Subject: How do I use application scope b

How do I use application scope bean in JSP?

2001-06-26 Thread Shamdasani Nimmi-ANS004
Hi, I have a bean stored in application scope in a startup servlet using: getServletContext().setAttribute(Constants.COMMON_DROP_DOWN_KEY, commonDropDownListBean); This bean of type CommonDropDownList has a property getResponseIndicatorList which returns a HashMap. I want to use this HashMa

RE: Having problems passing more than one parameter with tag

2001-06-14 Thread Shamdasani Nimmi-ANS004
r with tag On Thu, 14 Jun 2001, Shamdasani Nimmi-ANS004 wrote: > Hi, > > I am trying to pass 2 parameters with html:link. Since it is not legal to use the >same attribute name more than once in the same tag, I created another reference >'tempId' to my 'submitQ

RE: html:link only uses the last param* attributes

2001-06-14 Thread Shamdasani Nimmi-ANS004
PROTECTED]] Sent: Thursday, June 14, 2001 1:43 PM To: Shamdasani Nimmi-ANS004 Cc: [EMAIL PROTECTED] Subject: RE: html:link only uses the last param* attributes Hi, No I never solved that problem. What I did is what Struts tells you to do which is create a Hashtable or something and put your

RE: Iterate tag update?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Martin, Could you please give an example of how it can be used? I just did the index naming the old fashioned way(i.e., adding index to the property string) and would like to replace it. Thanks. -Nimmi -Original Message- From: Martin Cooper [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Having problems passing more than one parameter with tag

2001-06-14 Thread Shamdasani Nimmi-ANS004
Hi, I am trying to pass 2 parameters with html:link. Since it is not legal to use the same attribute name more than once in the same tag, I created another reference 'tempId' to my 'submitQuotesForm' bean using tag but I am only getting the last param 'supplier_seq' added to my link. Here

RE: Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Never Mind I found the solution -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 10:24 AM To: struts-user@jakarta. apache. org (E-mail) Subject: Can another bean besides the FormBean be used inside a Form? Hi, I have a form

Can another bean besides the FormBean be used inside a Form?

2001-06-14 Thread Shamdasani Nimmi-ANS004
Hi, I have a form which has a SELECT type field. The value selected from the Select options should set the corresponding field in the FormBean but the options available in this Select field are in another bean in the session scope. How do I specify such a Select field using & tags? TIA -

Need help with updatable indexed properties.

2001-06-13 Thread Shamdasani Nimmi-ANS004
Hi, Can someone please show me how to use the 'Iterate' and 'Select' tags instead in JSP code below for the indexed properties some of which are modifiable : <%SubmitQuotesForm submitQuotesForm=(SubmitQuotesForm)session.getAttribute("submitQuotesForm");%> <%for (int i=0; i < submitQuotesFor

RE: Logic Tag Library and (Iterator) List Navigation

2001-06-11 Thread Shamdasani Nimmi-ANS004
Hi Oleg, Could you please send me the class and JSP too. Thanks. -Nimmi -Original Message- From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 3:07 PM To: Matt Raible Subject: Re: Logic Tag Library and (Iterator) List Navigation Hello Matt, I can send you Pa

What happened to the 'etc','src' and 'web' directories in Struts binary download?

2001-06-06 Thread Shamdasani Nimmi-ANS004
Hi, I just downloaded Struts 1.0-b3 and found out that 'etc', 'src' and 'web' directories are no longer there. What happened to these? It was convenient to get the source code also in one shot of download. -Nimmi

RE: Logic-Iterate

2001-06-04 Thread Shamdasani Nimmi-ANS004
Shane This is how you do it: In the above case in yourBeanObject class you will have the method getBeanList() which will return a list of your beans. And in the bean class eachBean) you will have a method getName() which will return the name variable. Hope this helps. -Nimmi -O

RE: Form input using image tag

2001-06-04 Thread Shamdasani Nimmi-ANS004
Title: Form input using image tag Kat,   I have     and it creates this:     I don't know if it should make a difference but try removing the space before /> and see if it works   -Nimmi -Original Message-From: Luna, Kat [mailto:[EMAIL PROTECTED]]Sent: Monday, June 04, 2001 1

RE: Any Hashmap examples used in jsp page?

2001-06-04 Thread Shamdasani Nimmi-ANS004
Steve, This is how I used a HashMap in a jsp: getUserList() method in my user_list bean returns a HashMap. Hope this helps. -Nimmi -Original Message- From: Steve A Drake [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:58 PM To: [EMAIL PROTECTED] Subject: RE: Any Has

What is 'text' field for in ?

2001-04-03 Thread Shamdasani Nimmi-ANS004
The struts document says that 'text' field is for: The message text to be displayed to the user for this tag (if any) I tried to use the tag but it gives me error:"Attribute text invalid according to the specified TLD" This is how I used the tag: Is my understanding of 'text' field wrong? -N

How to make as an image?

2001-04-03 Thread Shamdasani Nimmi-ANS004
Hi, Does anyone know how to associate an image with the tag? Thanks. -Nimmi

SOLVED: What has changed in the DataSource part?

2001-03-30 Thread Shamdasani Nimmi-ANS004
It was a small mistake

What has changed in the DataSource part?

2001-03-30 Thread Shamdasani Nimmi-ANS004
Hi, My application works great with struts version 1 of 1/29/01 but now I want to move to the latest version of struts and its not working. No changes have been made to the application itself. I have tried even beta 1 version and other versions after that but no luck. The problem seems to be

RE: Initial security check

2001-03-23 Thread Shamdasani Nimmi-ANS004
Struts example application uses: in the JSPs to force the user to go to login screen. Check that. -Nimmi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 3:25 PM To: [EMAIL PROTECTED] Subject: Initial security check Hi everyone.

REPOST: How to make Reset button a graphical button?

2001-03-23 Thread Shamdasani Nimmi-ANS004
Hi, Is there a way to associate an image with the 'Reset' button? Thanks. -Nimmi

How to make Reset button a graphical button?

2001-03-22 Thread Shamdasani Nimmi-ANS004
Hi, Is there a way to associate an image with the 'Reset' button? Thanks. -Nimmi

Which? IPlanet Application server or IPlanet web server with Struts

2001-03-20 Thread Shamdasani Nimmi-ANS004
Hi, I am forced to use IPlanet for putting my application into production. I am wondering if I could use just IPlanet Web Server (IWS) for my application using Struts instead of having to use IPlanet application server(IAS). My application consists of JSPs, Servlets and Java Beans( and no EJBs

Anyone using Struts with iPlanet application server?

2001-03-20 Thread Shamdasani Nimmi-ANS004
Hi, Has anyone got Struts working with IPlanet application server? What version of IPlanet app server is needed for Struts? Could someone guide me with the steps on how to make it work? Thanks in advance. -Nimmi

REPOST: How to handle an extra button on login page

2001-03-19 Thread Shamdasani Nimmi-ANS004
Hi, I want to add an extra button 'Change Password' on my logon screen, which should take me instead to the 'changePassword.jsp' screen where I would enter the username, password, new password fields . I want a suggestion on how to handle this. Should I have the same form bean for both logon.

RE: "Unsafe path" error

2001-03-16 Thread Shamdasani Nimmi-ANS004
If you put WEB-INF in caps, windows will show it to you as Web-inf but internally it would 've made it all caps. BTW it is a good idea to convert it Web-inf to caps. -Original Message- From: Anderson, Jessica [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 2:24 PM To: '[EMAIL PRO

How to handle an extra button on login page

2001-03-16 Thread Shamdasani Nimmi-ANS004
Hi, I want to add an extra button 'Change Password' on my logon screen, which should take me instead to the 'changePassword.jsp' screen where I would enter the username, password, new password fields . I want a suggestion on how to handle this. Should I have the same form bean for both logon.

RE: bundle param in message tag

2001-03-08 Thread Shamdasani Nimmi-ANS004
Use -Original Message- From: Ratnadeep Bhattacharjee [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 4:58 PM To: [EMAIL PROTECTED] Subject: bundle param in message tag Hi, I was wondering if someone could please help me with this problem: I have created my own properties fi

RE: significance of property attribute in select tag

2001-03-08 Thread Shamdasani Nimmi-ANS004
Anand, Try using: notice ' instead of " -Nimmi -Original Message- From: Anand Raman [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 10:09 AM To: struts Subject: significance of property attribute in select tag hi guys What exactly should be the value of the property attri

RE: Help! Can't access ActionForm properties in Action perform()!

2001-03-08 Thread Shamdasani Nimmi-ANS004
Make sure the form is defined correctly in struts-config.xml. -Nimmi -Original Message- From: Firmin David [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 7:43 AM To: '[EMAIL PROTECTED]' Subject: RE: Help! Can't access ActionForm properties in Action perform()! Thanks, but s

RE: From where to download the XML parsers...

2001-03-08 Thread Shamdasani Nimmi-ANS004
http://java.sun.com/xml/download.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 4:32 AM To: [EMAIL PROTECTED] Subject: From where to download the XML parsers... Hi all, Can anyone tell me where do i get these packages I'm g

Any reference on how to handle errors in web applications?

2001-03-07 Thread Shamdasani Nimmi-ANS004
Hi, Does anyone have any references like articles, etc. on the best practices for handling errors in web application. Are there any guidelines available anywhere? Thanks in anticipation. -Nimmi

NEVER MIND RE: Question regarding javax.sql.Datasource

2001-03-06 Thread Shamdasani Nimmi-ANS004
Ok, I found out that JDK1.3 only contains the JDBC 2.0 Core API (i.e, java.sql package) whereas DataSource is part of javax.sql package in JDBC Standard Extension API. -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 4:28 PM To

Question regarding javax.sql.Datasource

2001-03-06 Thread Shamdasani Nimmi-ANS004
Hi, I am trying to convert my application from using DBConnectionBroker package for database pooling to Struts way of handling connection pooling. I am getting compilation error "javax.sql.Datasource not found" in JBuilder, which is using JDK 1.3, while compiling one of my Action classes. Doe

RE: class notfound exception

2001-03-02 Thread Shamdasani Nimmi-ANS004
Did you put the form definition in action mappings in Struts-config.xml? -Original Message- From: soh syed [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 9:15 AM To: [EMAIL PROTECTED] Subject: class notfound exception can anyone help with this my classpath is all ok and i have

RE: Question about iterate tag

2001-03-01 Thread Shamdasani Nimmi-ANS004
undefined tag or anything. I appreciate all the help I received :) -Nimmi -Original Message----- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 11:04 AM To: '[EMAIL PROTECTED]' Subject: RE: Question about iterate tag Craig, I did try

RE: Question about iterate tag

2001-03-01 Thread Shamdasani Nimmi-ANS004
me() %> > > > <% } %> > > > -----Original Message- > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 11:30 PM > To: [EMAIL PROTECTED] > Subject: Re: Question about iterate tag > > > Shamdasani Nimmi-ANS004 wrot

RE: Question about iterate tag

2001-03-01 Thread Shamdasani Nimmi-ANS004
lier.getName() %> <%= supplier.getCountryName() %> <% } %> -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:30 PM To: [EMAIL PROTECTED] Subject: Re: Question about iterate tag Shamdasani Nimmi-ANS004 wrote: > Hi,

RE: PLEASE HELP: How would I use the iterate tag here? Where are you Craig McClanahan?

2001-02-28 Thread Shamdasani Nimmi-ANS004
- From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 2:25 PM Subject: RE: PLEASE HELP: How would I use the iterate tag here? > Martin, >

RE: PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
Wes, I did try the code below but it still doesn't work. Anyone has any other suggestion? Imagine all this trouble when all I want to do is to make my "WORKING" JSP code look cleaner by using iterate tag: -- This is what I am t

RE: PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
tml Hope this helps. -- Martin Cooper Tumbleweed Communications ----- Original Message - From: "Shamdasani Nimmi-ANS004" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 28, 2001 2:02 PM Subject: RE: PLEASE HELP: How would I use the iterate tag here?

RE: PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
ires JDK 1.2 or later. Just a thought, Dave -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 5:02 PM To: '[EMAIL PROTECTED]' Subject: RE: PLEASE HELP: How would I use the iterate tag here? Is there a problem that getS

RE: PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
Is there a problem that getSuppliers() method returns a Hashtable and not an ArrayList? -Nimmi -Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 3:59 PM To: '[EMAIL PROTECTED]' Subject: RE: PLEASE HELP: How would

RE: PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
Wes, I did try your code(and this is what I was trying before myself too) but the table still comes out to be blank whereas if I use the code below the supplier rows are displayed. So what's the problem? Anyone else with suggestions? -Nimmi -Original Message- From: Wes Hodges [mailto

PLEASE HELP: How would I use the iterate tag here?

2001-02-28 Thread Shamdasani Nimmi-ANS004
Hi, Could someone help me with replacing the JSP code below with iterate tag ? I have tried various permutations of but have been unsuccessful. --- <% Hashtable hashTable = (Hashtable) user.getSuppliers();

RE: How do I iterate thru a hashtable using iterate tag?

2001-02-28 Thread Shamdasani Nimmi-ANS004
at would work in your situation it might simplify your problem. Tracy -----Original Message- From: Shamdasani Nimmi-ANS004 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 27, 2001 2:34 PM To: '[EMAIL PROTECTED]' Subject: How do I iterate thru a hashtable using iterate tag?

How does nested syntax in property attribute work

2001-02-27 Thread Shamdasani Nimmi-ANS004
Hi, In some of the e-mails I have seen nested syntax being used for property attribute, e.g., what does that mean? Is it that the getMailingAddress() method of the bean will be called, and then what is ".street" for? -Nimmi

RE: How do I iterate thru a hashtable using iterate tag?

2001-02-27 Thread Shamdasani Nimmi-ANS004
the working variant they are: code, name, countryName. In the 2nd (not working variant) they are: seq_nbr, name, country_name. The second, maybe underscore sign is not allowed. Maya Shamdasani Nimmi-ANS004 wrote: > Hi, > > Could someone please tell me what I am doing wrong below: >

How do I iterate thru a hashtable using iterate tag?

2001-02-27 Thread Shamdasani Nimmi-ANS004
Hi, Could someone please tell me what I am doing wrong below: user is a bean in session scope in my JSP and its getSuppliers() method returns a hashtable where keys are Suppliers Ids and elements are Supplier beans. -- I had the f

Question about iterate tag

2001-02-27 Thread Shamdasani Nimmi-ANS004
Hi, Could someone please tell me what I am doing wrong below: user is a bean in session scope in my JSP and its getSuppliers() method returns a hashtable where keys are Suppliers Ids and elements are Supplier beans. Thanks in advance. -Nimmi

RE: html:select again!

2001-02-16 Thread Shamdasani Nimmi-ANS004
Dennis, Here's is how I have done it with javascript. With every submit I am sending in a new value for the hidden field 'command' and in my action class I look into this value of 'command' to do the next combobox selection criteria thru a bean and populate the corresponding property in that b

RE: Confusion about struts.jar in classpath - THAT DID IT

2001-02-13 Thread Shamdasani Nimmi-ANS004
4:57 PM To: [EMAIL PROTECTED] Subject: Re: Confusion about struts.jar in classpath Shamdasani Nimmi-ANS004 wrote: > Craig, > > I did a find on 'struts.jar' on my 'D drive' and these are all the occurences of >'struts.jar': > > D:\jakarta-struts\lib &g

RE: Confusion about struts.jar in classpath

2001-02-13 Thread Shamdasani Nimmi-ANS004
usion about struts.jar in classpath Shamdasani Nimmi-ANS004 wrote: Hi, I have been following the threads on struts.jar issue and this is what I have. I have deployed an application using struts 1.0 build with tomcat 3.2.1 on windows NT. Here's the strange situation: If I don't add

RE: Confusion about struts.jar in classpath

2001-02-13 Thread Shamdasani Nimmi-ANS004
uot; application you need something,... But what - CLASSPATH or put struts.jar under tomcat/lib ? I do not build yet my application and do not have your experiment. I have tested only struts-example.war. Maya Shamdasani Nimmi-ANS004 wrote: > Hi, > > I have been following the threads on s

Confusion about struts.jar in classpath

2001-02-13 Thread Shamdasani Nimmi-ANS004
Hi, I have been following the threads on struts.jar issue and this is what I have. I have deployed an application using struts 1.0 build with tomcat 3.2.1 on windows NT. Here's the strange situation: If I don't add struts.jar in my classpath, I can run struts-example but CANNOT run my own ap

RE: input form with indexed properties, when?

2001-02-13 Thread Shamdasani Nimmi-ANS004
Thanks Craig, that's exactly what I want to do and I am sure there will be others who want to do the same. I did enter a request to add this feature in 1.0 on Bugzilla. Till the time that feature is available thru Struts I wonder how I should handle such a form. Do you have a suggestion? Thank

RE: input form with indexed properties, when?

2001-02-12 Thread Shamdasani Nimmi-ANS004
[mailto:[EMAIL PROTECTED]] Sent: Monday, February 12, 2001 4:14 PM To: [EMAIL PROTECTED] Subject: Re: input form with indexed properties I think, the original struts-example has a multiple rows form for "Current Subscriptions". Shamdasani Nimmi-ANS004 wrote: > Hi, > > Is any solu

input form with indexed properties

2001-02-12 Thread Shamdasani Nimmi-ANS004
Hi, Is any solution to handling an input form with data in a table form (i.e. multiple rows of same kind of data) on Struts horizon in the near future? Also If anyone has worked with such a form and have an example to share I will really appreciate it. Thanks -Nimmi

RE: question on errors, how to handle

2001-02-01 Thread Shamdasani Nimmi-ANS004
Craig, Is there a way that only the error message(e.g., username is required) appears next to the error field instead of the headings: VALIDATION ERROR You must correct the following error(s) before proceeding also appearing with it. It will be good if the heading could be at the top of the p

RE: read only values in forms

2001-01-26 Thread Shamdasani Nimmi-ANS004
Craig, If the form displays the data in a table form (i.e., rows of data) where some of the fields in each row are display only and the others are editable and need to be validated, is there is way to to that with ActionForm? Thanks. -Nimmi -Original Message- From: Craig R. McClanaha

RE: New struts user - status Qs

2000-11-10 Thread Shamdasani Nimmi-ANS004
http://www.mail-archive.com/struts-user%40jakarta.apache.org/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 11:47 AM To: [EMAIL PROTECTED] Subject: New struts user - status Qs I just got a small system running using sturts on a my

Question about database pooling

2000-11-07 Thread Shamdasani Nimmi-ANS004
In my application I have a DatabaseServlet which gets a pool of database connections on startup. What would be the best approach for my java beans to get a free connection from the pool? Should I store the pool in the servletContext and the action classes get a connection from the pool and p

How would one update indexed properties with Struts?

2000-11-03 Thread Shamdasani Nimmi-ANS004
Hi All, I have a bean userOrderListBean with a property 'getOrderList' which is a list of 'Order' Bean. I would like to show the rows from getOrderList to the user on a JSP and allow them to update the information. How does one update the indexed properties using Struts? And does userOrderLis

PLEASE HELP: Does Struts allow update of the indexed properties?

2000-11-01 Thread Shamdasani Nimmi-ANS004
Hi All, I have a bean userOrderListBean with a property 'getOrderList' which is a list of 'Order' Bean. I would like to show the rows from getOrderList to the user on a JSP and allow them to update the information. How does one update the indexed properties using Struts? And does userOrderLis

Does Struts allow update of the indexed properties?

2000-10-31 Thread Shamdasani Nimmi-ANS004
Hi All, I have a bean userOrderListBean with a property 'getOrderList' which is a list of 'Order' Bean. I would like to show 10 rows at a time from GetOrderList to the user on a JSP and allow them to update the information. How does one update the indexed properties using Struts? And does use

How would one update the tabular data using Struts

2000-10-26 Thread Shamdasani Nimmi-ANS004
Hi, In my struts-based application I have a JSP where I want to bring up data in a table form, from a bean, 10 rows at a time and allow the user to update this data. Does anyone know how to update the tabular data? Thanks in advance. -Nimmi