In our application, the implementation for error message handling is: using
a HashMap for error messages with the form propertyName as the key. This
prevents duplicate messages for form fields. Taking one example use-case:
zipCode, rules are: must be numeric, and must be at least 5-digits in
length
.redbooks.ibm.com/abstracts/sg246690.html?Open
Duane
-Original Message-
From: Adari, Chandra [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 6:37 PM
To: Duane Rosengartner
Subject: RE: Problem loading/invoking struts app
Can you please send me the article you are talking about
It appears your classloader is picking up the wrong jar. If this is
websphere 6, it comes with a jdom.jar that has given us problems similar
to yours. Attempt to use the parent-first parent last setting; match
with your working environment. It should be under the server(or node)
properties. If this
I don't know folks; perhaps we're hung up on the word 'simple' or you'd
have gotten more responses. Or is it that we're a Struts User group and
we feel the question is rhetorical? No, that can't be it. I personally
feel you should have searched the archives on this one. It's one that's
asked every
Try writing your own utils class extending BeanUtils. You can either
check all input variables for null, or check datatype first, then check
for null only on those properties you wish to allow 'null-ok'. You can
still take advantage of BeanUtils by calling super.X(property, value),
or super(dest, s
This works very well for me.
Back
-Original Message-
From: Tremal Naik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 07, 2005 7:24 AM
To: Struts Users Mailing List
Subject: Forwarding to the previous page
Hi, I have a menu on my application, which is tiled in all the pages.
I
use the Id (userId,accountId)or concatination of Id|someOtherVariable as
the value of the Radio button property. Then in your action you would
use the value of the radio to perform further processing. In most cases,
the rows are simple views of an object. The selection of the row would
require you
I need to know if Tomcat has a request timeout that can be configured.
Looking into the server.xml, I see timeouts related to database
connections, and session, and something called tcpSelectorTimeout
I have a wierd scenario:
Typically, logging massive amounts of data will overburden memory usage
>> <%=errmsg.toString().length()%>
>> <%--correctly prints the expected value--%>
I believe the scriptlet is evaluated at runtime(server-side). Is it
possible you have a bean property holding this: errmsg 'expected value'
?
>>
However the JSTL is explicitly directed to Page-scope for this. Se
I don't believe the web.xml would have to change to upgrage struts
version, except of cource references to Struts.jar etc.
I believe the header has to be in Sync with the Tomcat/web-app version
you're using. For example, I have Tomcat5.0.28 and my web.xml begins as
such:
http://java.sun.com/xml/
Based on the following...
maxlength
20
Try this in yo
>> shouldn't it show "error.saluation.makechoice" instead ??
It should. Do any of your other messages work, or is it possible that
error.saluation.makechoice is not in your .properties file, or worse,
the file is not being found in your classes directory? OK, We can assume
the file is found if th
Version 3.0?
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 10, 2005 1:51 PM
To: 'Struts Users Mailing List'
Subject: AW: Nice try (was Java code generator including Struts 1.2)
Su, but those generators are pain in the ass...
You generate with
>> p. Now i have got the debugging working. But
Since debugging is working, try catching a breakpoint where validate is
being called, then step-into...
My best guess is the method signatures need to be verified. INO, are you
overridding validate or overloading? You may be invoking the superclass
evaluating to "false" (i.e
the 'else' case).
Amitava Basak
ASE
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Duane Rosengartner" <[EMAIL PROTECTED]>
08/06/2005 12:13 AM
Please respond to
"Struts Users Mailing Lis
I have the following Javascript primarily used to manipulate a CSS style
and make a portion of a form visible. In the process, the achor invoking
the JavaScript passes parameters from a table Row(resultset) displayed.
In this Row, I have two bean properties declared as Java type Boolean.
The toStri
16 matches
Mail list logo