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 eith
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 Revusk
Thanks for your reply.Here is the code iam using in validator.xml
Where is the agree is the boolean property in my action form.
On 3/27/06, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Srinivas Jadcharla wrote:
> > Iam here with a request.I need to validate a using
&g
Hi there,
Iam here with a request.I need to validate a
//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
//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
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
ght direction :)
>
> Frank
>
> Srinivas Jadcharla wrote:
> > Thanks for you time Frank
> >
> > //AJAX is nothing but some Javascript on the client, and something on
> the
> > server that
> > //knows what do with an AJAX request (which is just an HTTP re
. 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 do
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 Jadchar
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
732-
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]
>
*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) a
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
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 operat
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 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 W
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
> proces
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 Use
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 Messag
t; Thanks and regards,
> Pazhanikanthan. P
> 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"
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
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]>
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");
> request
; a 100 different tiles definitions.
> I would be curious to see the tiles version. I'm not that familiar with
> tiles though.
>
> Shawn
>
> -Original Message-
> From: Srinivas Jadcharla [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 08, 2005 11:14 AM
> To
//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, Sh
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
e("error.key"));
>}
>
>return errors;
>
> }
> }
>
> Niall
>
> - Original Message -
> From: "Srinivas Jadcharla" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 29, 2005 3:13 PM
>
>
> > Hi there,
> >
> > As p
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
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)
Thanks Shawn.Thanks for your response.
On 11/22/05, Garner, Shawn <[EMAIL PROTECTED]> wrote:
>
> Use to test if it is null or an empty String.
> Use to test if it is not a null String and not an empty
> String
>
>
> Shawn
> -Original Message-----
> From:
Hi ,
I have code like this.
no payments have been applied to your account.
Some payments have been applied to your account.
The Aboove code was working as long as lastPaymentAmount was double.But as
per the requiremnt i had to change it to String.As per the new requirement i
have to look
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]>
> &
ere can I find an example that does such stuff?
>
> Thanks.
>
>
> >From: Srinivas Jadcharla <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> >To: Struts Users Mailing List
> >Subject: Re: struts & javascript question
> >Date:
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
Thanks michael
On 11/15/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Firefox? Add "no-store":
>
> response.setHeader("Cache-Control", "no-cache, no-store");
>
> On the other hand, SSL + "no-cache" should work for Firef
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
>
> -D
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
>
>
>
>
> Sriniva
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();
resp
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();
respo
40 matches
Mail list logo