RE: How to use nested iterate...through ArrayList

2007-02-09 Thread Shilpa . Nalgonda
Hi I am trying to nested:iterate fro looping through am hashMap of Hashmap of ArratListUserDefinedObject But I get property cnt cannot be found error. When looping through the object of arrayList, I was able to loop through the forst two hashmaps print out their keys, but printing out the

Locale problem...

2006-01-23 Thread Shilpa . Nalgonda
Hi All, I have an application which is used in US, Europe and Asia. The application should show the date in each regions own local time. I have to create the time and store it in databsae in GMT and again while displaying the date back to the browser convert The GMT into the local timezone.

Form has Inner Object..

2006-01-11 Thread Shilpa . Nalgonda
Hi All, My struts form (newClientForm) have an Object(dmaClient) and I want to set the Objects methods.. Like this ... But it cannot recognize the Object...java.lang.NoSuchMethodException: Unknown property 'dmaClient' Any suggestions. tr td

RE: Form has Inner Object..

2006-01-11 Thread Shilpa . Nalgonda
Thanks for the reply, I also noticed , I had a typo in my method name... now the below code works.. -Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 11:08 AM To: Struts Users Mailing List Subject: Re: Form has Inner Object..

How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
Hi All, I have the below logic , and I need to loop thriugh the Dmamarket Array using struts and Set the form attribute.. My form has dmaMarket[] as an attribute. % DmaMarket[] dmaArray = (DmaMarket[])session.getAttribute(Constants.ATTRIBUTE_EU_DMAMARKET_LIST) ;

RE: How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
Thanks, But I have a different problem.. I have an ArrayList which has dmaMarket Objects... dmaMarket has getters and setters...like getCountry etc., I have to loop through the arrayList and get the dmaMarket object and display the attributes like country etc. But the problem is I have to set

RE: How to use logic iterate...

2006-01-10 Thread Shilpa . Nalgonda
Thanks. That was veru helpful, I got my problem solved.. -Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 3:21 PM To: Struts Users Mailing List Subject: Re: How to use logic iterate... Shilpa, Look at the lessons By Rick

Bean scope...

2006-01-09 Thread Shilpa . Nalgonda
Hi All, I keep getting this error , I have defined this bean in config file... Also... -Cannot find bean StatusSearchActionForm in any scope form-beans form-bean name=StatusSearchActionForm type=com.ubs.eq.na.lynx.clientdata.StatusSearchActionForm / /form-beans

Clear the Action Form..

2005-12-29 Thread Shilpa . Nalgonda
How can i clear the Action form when i have saved all the information i want, is there any method in Struts which does that, or do i have explicitly clear the form. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 29, 2005 11:56 AM To: Struts Users

RE: Checkboxes...

2005-12-23 Thread Shilpa . Nalgonda
If i make them false in reset method, i cannot set any checkboxes by defalut to checked.. everytime the checkboxes are uncheckedif i add reset method... -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:54 PM To: Struts Users Mailing

RE: Checkboxes...

2005-12-23 Thread Shilpa . Nalgonda
Thanks. Yeah i did that i have reset the default values in my Action code, but the problem is reset method gets called everytime... That is after the default is set, the reset is called before the form is populated and all teh default values again gets set to false. Below is my code, i don't

Checkboxes...

2005-12-22 Thread Shilpa . Nalgonda
Hi All, I am using struts checkboxes. When the checkboxes are populated i make some of them as checked by default. But the user submits the page there might be cases when default ones will be unchecked... Even though teh default boxes are unchecked, they are coming as selected in the java

Struts using iframes...

2005-12-21 Thread Shilpa . Nalgonda
Hi , I am having problem populating the form with the selected checkboxes values. Tere is a parent (newclient.jsp) form. This form makes a call to the iframes. like this iframe src=%= bodyHref1 % id=clientframe frameborder=0 width=100% height=180 scrolling=yes/iframe

RE: Struts using iframes...

2005-12-21 Thread Shilpa . Nalgonda
Thanks a lot using Div works for me... -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 21, 2005 12:06 PM To: Struts Users Mailing List Subject: Re: Struts using iframes... The trick with iFrames, or regular frames for that matter, is to

Internationalization of characters --UTF8 encoding

2004-10-29 Thread Shilpa Nalgonda
Hi, I am using Tomcat4.1, Oracle 8i , and XmlRpc to write an application which is supposed to take japanese characters an insert them into database. Is there any setting in Tomcat4 where i should be giving the encoding option. And aslo i get the request from the client in the form of xml and

RE: Internationalization of characters --UTF8 encoding

2004-10-29 Thread Shilpa Nalgonda
of characters --UTF8 encoding Shilpa Nalgonda wrote: Hi, I am using Tomcat4.1, Oracle 8i , and XmlRpc to write an application which is supposed to take japanese characters an insert them into database. Is there any setting in Tomcat4 where i should be giving the encoding option. And aslo i get

FW: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted, cause:

2004-09-28 Thread Shilpa Nalgonda
Hi, I am getting the timeout exception for connection pooling, i am using Tomca 4.1 and datasource to retrieve connections. I am attaching all the soure code and configuration files used in my application, please suggest where iam doing wrong... SEVERE: getConnection()--SQLException

dynamically change the dropdown list from a database...

2004-09-02 Thread Shilpa Nalgonda
I am having problem dynamically display the dropdown list from database. There are two dropdown list boxes A and B, when the user changes options in dropdown A, the dropdown B should also change dynamically from databse. Both A and B use html select tag. Dropdown A and B are inside the

FW: cannot compile resource bundle files...illegal character error:

2004-08-30 Thread Shilpa Nalgonda
I am not able to compile resource bundle classes, which are .java files that require unicode settings. I am using ant scrpit to compile the files. my ant scrpit look slike this: javac srcdir=${bundles} destdir=${build} encoding=Unicode classpath fileset dir=../oemjavalib

can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
i have a shopping cart struts application, when update button of a jsp is clicked, some action is performed and after the successful excution of that action, a servlet which takes certain parameters should be called from the action class. The servlets which i am talking about are non-struts

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:37 AM To: Struts Users Mailing List Subject: can a non struts

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
, 2004 2:01 PM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 10:53 AM To: Struts Users Mailing List Subject: RE: can

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
: Thursday, August 26, 2004 2:13 PM To: Struts Users Mailing List Subject: RE: can a non struts application be called from inside stuts application. -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 11:03 AM To: Struts Users Mailing List

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
and method3 for 3 servlets and execute them one after the other. Just try and see if it solves your problem. Reddy Pingili -Original Message- From: Shilpa Nalgonda [SMTP:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 2:03 PM To: Struts Users Mailing List Subject: RE

RE: can a non struts application be called from inside stuts application.

2004-08-26 Thread Shilpa Nalgonda
=com.foo.MyAction forward name=LegacyServlet path=/path/to/old/servlet/ /action Then in the MyAction.execute() ... // business logic //... // now forward to old servlet return mapping.findForward(LegacyServlet); } Comprande? Shilpa Nalgonda wrote: i have a shopping cart struts

form submit problem...

2004-08-18 Thread Shilpa Nalgonda
I am trying to submit a form with users email and password, such that when the user ckicks on next the checkCustomer.do action is executed. I am using html:submit to display the next button as below: span class=righthtml:submit value=next//span But i do not want to use

RE: form submit problem...

2004-08-18 Thread Shilpa Nalgonda
, August 18, 2004 12:50 PM To: Struts Users Mailing List Subject: Re: form submit problem... Jim Barrows wrote: -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 9:15 AM To: Struts Users Mailing List Subject: form submit problem... I am

RE: java.net.ConnectException: Connection refused

2004-08-11 Thread Shilpa Nalgonda
=[E0C0E4A0:01C47EFD] -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 10:10 AM To: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused This is a well known problem regarding MySQL and Linux. One

RE: java.net.ConnectException: Connection refused

2004-08-11 Thread Shilpa Nalgonda
=net.sf.hibernate.dialect.MySQLDialect hibernate.connection.url=jdbc\:mysql\://localhost/VirtualVillage?autoReconne ct\=trueamp;useUnicode\=trueamp;characterEncoding\=utf-8 hibernate.connection.driver_class=com.mysql.jdbc.Driver hibernate.connection.show_sql=true -Original Message- From: Shilpa Nalgonda

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
I am using Tomcat4.0, struts1.1, mysql 4.0.18 , on Linux environment. And i am unable to connect to mysql db. Below is the url i am using in server.xml file. and also i have the jdbc driver under WEB-INF/lib - mysql-connector-java-3.0.14-production-bin.jar...I was successfully able to deploy

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
: java.net.ConnectException: Connection refused -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 9:17 AM Cc: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused I am using Tomcat4.0, struts1.1, mysql

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
PROTECTED] Sent: Tuesday, August 10, 2004 1:17 PM To: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 10:10 AM To: Struts Users Mailing List Subject: RE

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
No there is no firewall on Linux box. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 4:24 PM To: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused -Original Message- From: Shilpa Nalgonda

RE: java.net.ConnectException: Connection refused

2004-08-10 Thread Shilpa Nalgonda
? -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 4:39 PM To: Struts Users Mailing List Subject: RE: java.net.ConnectException: Connection refused -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004

org.apache.jasper.JasperException

2004-08-09 Thread Shilpa Nalgonda
I am getting this error, what could be the reason... 2004-08-09 09:32:08 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: File /tags/struts-html not found at

FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 11:53 AM To: Tomcat Users List Subject

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
) -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 9:23 AM To: Struts Users Mailing List Subject: FW: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) - Root Cause - java.lang.NullPointerException

RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)

2004-08-06 Thread Shilpa Nalgonda
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 9:36 AM To: Struts Users Mailing List Subject: RE: null pointer --org.apache.commons.digester.Digester.getXMLReader(Digester.java:902) where to check path names, is it in struts config... There.. web.xml.. all your config

digester.getparser error...

2004-08-06 Thread Shilpa Nalgonda
I am getting this error when i start my Tomcat 4.0.4 insatance, with struts application. what exactly is this? Aug 6, 2004 8:02:11 AM org.apache.commons.digester.Digester getParser SEVERE: Digester.getParser: java.security.AccessControlException: access denied (java.lang.RuntimePermission

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 3:30 PM To: Struts Users Mailing List Subject: RE: Data not being populated from database on form jsp -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 12:22 PM To: Struts Users Mailing List

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
thanks, that might help. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 3:51 PM To: Struts Users Mailing List Subject: RE: Data not being populated from database on form jsp -Original Message- From: Shilpa Nalgonda [mailto

RE: Data not being populated from database on form jsp

2004-08-03 Thread Shilpa Nalgonda
: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03, 2004 4:00 PM To: Struts Users Mailing List Subject: RE: Data not being populated from database on form jsp thanks, that might help. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 03

RE: Data not being populated on edit in my jsp file...

2004-08-02 Thread Shilpa Nalgonda
on edit in my jsp file... -Original Message- From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 2:29 PM To: Struts Users Mailing List Subject: Data not being populated on edit in my jsp file... I have a jsp fle which has a html link to EditShipping.jsp