Re: Validation help required

2006-04-24 Thread Srinivas Jadcharla
Use Validate method instead Validator framework On 4/24/06, Dinesh Mehra [EMAIL PROTECTED] wrote: Hi, I am using struts 1.1 I have two textboxes (username, password). My requirements is - I need to display a standard error message when both the fields are empty or when either of the

Re: Why did Struts development stagnate?

2006-03-29 Thread Srinivas Jadcharla
Jonathan Revusky is a Sick Man.Guys please don't respond to his posts.Jonathan if you don't like struts don't use it ...Is any one commenting on your framework(freemaker)??Its upto the people who manages the Struts Mailing List to remove him from the List(or block him) On 3/29/06, Jonathan

html:checkbox + Struts validation

2006-03-27 Thread Srinivas Jadcharla
Hi there, Iam here with a request.I need to validate a html:checkbox (in JSP) using Struts Validator Framework.I want to make sure that the user checks the Check Box.if it is not checked validation should fail.Can some one suggest me which validator i need to use?? I tried *required* Validator

Re: html:checkbox + Struts validation

2006-03-27 Thread Srinivas Jadcharla
Thanks for your reply.Here is the code iam using in validator.xml field property=agree depends=required arg0 key=Check Box resource=false/ /field Where is the agree is the boolean property in my action form. On 3/27/06, Dave Newton [EMAIL PROTECTED] wrote: Srinivas Jadcharla wrote

Re: Child window opening problem

2006-01-26 Thread Srinivas Jadcharla
//Is there a way thru which i can populate my JSP from Action class use mapping.findForward(success); Other Option: Use separate JSP for displaying other fields. On 1/26/06, Deepa Khetan [EMAIL PROTECTED] wrote: Hi, Is there a way thru which i can populate my JSP from Action class. I

Re: Dispatch Action Error

2006-01-26 Thread Srinivas Jadcharla
//java.lang.NoSuchMethodException May be caused by Spelling mistakes of the method names!! On 1/26/06, RathinaGanesh MeenakshiSundaram [EMAIL PROTECTED] wrote: Hi All, Iam getting the following DispatchAction error. Everything works fine and but, once in a while, I see the following error

Re: Intro to JSTL

2006-01-18 Thread Srinivas Jadcharla
JSTL(JavaServer Pages Standard Tag Library) is the Library of Tags those are simillar to the Tags you used in Struts Based JSPs like html,logic,bean etc.. On 1/18/06, Gary Feidt [EMAIL PROTECTED] wrote: Hello Everybody, I've been developing Struts applications for a couple of years (the last

[OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
Hi, I have a small doubt regarding System Requirements for AJAX.Like Javascript i just need AJAX Supported Browser and notepad(as editor) , or do i need some thing else.Are there any small and simple examples on net to start with.Any advice is highly appreciable. -- Thanks Regards Srinivas

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
i found one example from this url http://www.degraeve.com/reference/simple-ajax-example.php?word=hi But this example requires CGI Script about which i have Zero knowledge.Arethere any other simple ajax examples?? Some thing like Hello World!! example On 1/17/06, Srinivas Jadcharla [EMAIL

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, January 17, 2006 4:24 pm, Srinivas Jadcharla said: Hi, I have a small doubt regarding System Requirements for AJAX.Like Javascript i just need AJAX Supported Browser and notepad(as editor) , or do i need

Re: [OT]AJAX System Requirements

2006-01-17 Thread Srinivas Jadcharla
. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Tue, January 17, 2006 4:24 pm, Srinivas Jadcharla said: Hi, I have a small doubt regarding System Requirements for AJAX.Like

Re: Form has Inner Object..

2006-01-11 Thread Srinivas Jadcharla
*NoSuchMethodException *Thrown when a particular method cannot be found. Your Object (dmaClient) may not be having the methods required..that is getters and setters On 1/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, My struts form (newClientForm) have an Object(dmaClient) and I

Re: Form has Inner Object..

2006-01-11 Thread Srinivas Jadcharla
You are welcome. On 1/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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

Re: How to use logic iterate...

2006-01-10 Thread Srinivas Jadcharla
Shilpa, Look at the lessons By Rick http://www.reumann.net/struts/main.do You'll find the answer.Thanks Rick for your lessons. On 1/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks, But I have a different problem.. I have an ArrayList which has dmaMarket Objects... dmaMarket has

Re: java.lang.OutOfMemoryError on production server

2006-01-09 Thread Srinivas Jadcharla
Try to increse the Heap size Look here http://h21007.www2.hp.com/cmdspp/QuestionAnswer/1,1764,5847BAEF-DA2E-4537-B3FD-B68173E1E0E7,00.html On 1/9/06, Brian Kremmin [EMAIL PROTECTED] wrote: Tomcat 5.0.28 gives the following error sporadically but usually after only a few hours of operation:

problem deploying rr-struts-nested.war

2006-01-04 Thread Srinivas Jadcharla
Hi Rick, Iam getting the following problem [image: Error]The EAR file could be corrupt and/or incomplete. com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml while iam trying to deploy rr-struts-nested.war from http://www.reumann.net/tech/struts-nested.jsp on

Re: problem deploying rr-struts-nested.war

2006-01-04 Thread Srinivas Jadcharla
Iam not trying to rebuild the application.I just wanted to download the .war file and deploy it.Your previous lessons(from older site) worked fine when i did that way. On 1/4/06, Rick Reumann [EMAIL PROTECTED] wrote: Srinivas Jadcharla wrote the following on 1/4/2006 9:58 AM: Hi Rick, Iam

Re: Which method sets bean into desired scope

2006-01-03 Thread Srinivas Jadcharla
May be this article is helpful.If it is helpful please let us know. http://www.onjava.com/pub/a/onjava/2004/11/10/ExtendingStruts.html On 1/3/06, Jim Reynolds [EMAIL PROTECTED] wrote: Hello and Happy New Year I am trying to figure out which method (of the many) in the request processor

Re: [FRIDAY] You might be a geek if ...

2005-12-30 Thread Srinivas Jadcharla
Happy New Year to you all. On 12/30/05, Daniel Blumenthal [EMAIL PROTECTED] wrote: Remember - the first step is admitting you have a problem. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Friday, December 30, 2005 3:04 PM To: Struts Users Mailing

Re: Clear the Action Form..

2005-12-29 Thread Srinivas Jadcharla
U have to use reset method in ActionForm On 12/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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-

Re: validation.xml

2005-12-22 Thread Srinivas Jadcharla
When it looks validate = true in struts-config.xml and when you form extends ValidatorForm it looks for validations in Validator.xml this is how Client Side Validation Works.How Exactly you are implementing Serverside validations? On 22 Dec 2005 15:21:39 -, rahul kshirsagar [EMAIL PROTECTED]

Re: html:multibox with LabelValueBean

2005-12-22 Thread Srinivas Jadcharla
I think its always better to use Struts taglibs where ever it is possible because of less coding.Where exactly we need JSTL(Wild guess .where its not possible with Struts tag libs?) .Correct me if iam wrong On 12/22/05, Pazhanikanthan Periasamy [EMAIL PROTECTED] wrote: Hello Fea, I dont

Re: html:multibox with LabelValueBean

2005-12-22 Thread Srinivas Jadcharla
Project Leader, Caritor (India) Pvt. Ltd., Madras - 600 006 Mob: 9886152717 Extn: 40123 Srinivas Jadcharla [EMAIL PROTECTED] 12/22/2005 09:14 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users Mailing List user@struts.apache.org cc Subject Re

Re: Back Button Problem..

2005-12-21 Thread Srinivas Jadcharla
You can find some documentation in Jakarta Struts 1.1(Wrox Series.) abt how to use Tokens , but iam not sure how far it is helpful to solve your problem On 12/19/05, Priya Saloni [EMAIL PROTECTED] wrote: Here is my Code, request.getSession().removeAttribute(sessionState);

Re: Validator and Javascript

2005-12-08 Thread Srinivas Jadcharla
I think Validator Framework internally uses Javascript..You can customise according to you Requirement..Some one correct me if iam wrong.. On 12/8/05, Tony Santinello [EMAIL PROTECTED] wrote: Hi, I'm using Struts 1.2.7 and I'm using commons-validator to validate my forms. Can someone tell

Re: Addressformat For Different Countries

2005-12-08 Thread Srinivas Jadcharla
//I would set up three different JSP Pages .. But what happens if there are about 100 countries?? we need 100 JSPs right..Instead he can go for a single JSP with logic tags..but if there are 100 countries...his JSP will be very very long ..option left is to go for tiles... On 12/8/05, Garner,

Re: Addressformat For Different Countries

2005-12-08 Thread Srinivas Jadcharla
-Original Message- From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 11:14 AM To: Struts Users Mailing List Subject: Re: Addressformat For Different Countries //I would set up three different JSP Pages .. But what happens if there are about 100 countries?? we

Validate() and Validator Framework Together

2005-11-29 Thread Srinivas Jadcharla
Hi there, As per the requirement i have to use Both types of validations 1.validations using Validate Method 2.Validations using Validations framework For the fields in a Single Form.Is it possible ???Some one please advice me. -- Thanks Regards Srinivas 732-648-9421(Cell)

Re: please reaply as early as possible - session tracking

2005-11-29 Thread Srinivas Jadcharla
You can use HttpSession Object..In that you have setAttribute() and getAttribute() mthods. On 11/29/05, Sony Thomas [EMAIL PROTECTED] wrote: Hi Stephen, What I want to know is suppose I have to store some value to session. Is there is something called Session object in struts. how can I set

Re: Validate() and Validator Framework Together

2005-11-29 Thread Srinivas Jadcharla
Message - From: Srinivas Jadcharla [EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 3:13 PM Hi there, As per the requirement i have to use Both types of validations 1.validations using Validate Method 2.Validations using Validations framework For the fields in a Single

logic:equal looking for null

2005-11-22 Thread Srinivas Jadcharla
Hi , I have code like this. logic:equal name=viewPaymentsAndDisbursementsForm property=lastPaymentAmount value= 0.00 no payments have been applied to your account./span/td /logic:equal logic:greaterThan name=viewPaymentsAndDisbursementsForm property=lastPaymentAmount value=0.00 Some payments

Re: struts javascript question

2005-11-18 Thread Srinivas Jadcharla
Use Validate method in the Action Form or write your own Validator. On 11/18/05, fea jabi [EMAIL PROTECTED] wrote: In my JSP have a checkbox. When it is checked by user have to make sure 2 of the entries are enteried. i.e chkBox1 -- checkbox --- checked txtfield1 ---

Re: struts javascript question

2005-11-18 Thread Srinivas Jadcharla
such stuff? Thanks. From: Srinivas Jadcharla [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user@struts.apache.org To: Struts Users Mailing List user@struts.apache.org Subject: Re: struts javascript question Date: Fri, 18 Nov 2005 10:57:36 -0500 Use Validate method in the Action Form

Re: struts javascript question

2005-11-18 Thread Srinivas Jadcharla
Iam sorry i have no idea abt DynaAction forms. On 11/18/05, fea jabi [EMAIL PROTECTED] wrote: using dynaactionforms. would prefer using the the validator xml for this. thanks for your response. From: Srinivas Jadcharla [EMAIL PROTECTED] Reply-To: Struts Users Mailing List user

logout/Back Button problem

2005-11-15 Thread Srinivas Jadcharla
Hi There, I have a problem logging out my Struts Based Web Application.Here iam giving the code in Logout Action.. request.getSession().removeAttribute(ssn); request.getSession().removeAttribute(pin); request.getSession().removeAttribute(parentrole); request.getSession().invalidate();

Logout Problem

2005-11-15 Thread Srinivas Jadcharla
Hi There, I have a problem logging out my Struts Based Web Application.Here iam giving the code in Logout Action.. request.getSession().removeAttribute(ssn); request.getSession().removeAttribute(pin); request.getSession().removeAttribute(parentrole); request.getSession().invalidate();

Re: Logout Problem

2005-11-15 Thread Srinivas Jadcharla
Thanks for the reply . On 11/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sounds like an opportunity for a ValidSession filter: http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.html -Dennis Srinivas Jadcharla [EMAIL PROTECTED] 11/15/2005 10:00 AM

Re: Logout Problem

2005-11-15 Thread Srinivas Jadcharla
Working fine in Netscape Browser.We are getting problem with IE. On 11/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sounds like an opportunity for a ValidSession filter: http://java.sun.com/blueprints/corej2eepatterns/Patterns/InterceptingFilter.html -Dennis Srinivas Jadcharla