Hi all,
I am storing a number of dates within my application internally as
epoch, but I need to print them formatted for the local timezone of
the client. Is there a standard way of doing this? Using the existing
s:date tag is printing things in the timezone local to the server..
Thanks,
David
] Race condition in SpringObjectFactory class loader
David Erickson wrote: java.lang.LinkageError: loader (instance of
org/apache/catalina/l...
_
Windows Liveā¢: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com
Hi all,
I was just doing a test upgrade from Struts 2.0.11.1 to 2.1.6, with
the Spring plugin. I have a website the issues a couple back to back
ajax requests to the same Action class (different methods), and the
first time I call this Action after starting up the server I get
linkage duplication
On Sat, Jan 31, 2009 at 8:38 AM, Dale Newfield d...@newfield.org wrote:
David Erickson wrote:
java.lang.LinkageError: loader (instance of
org/apache/catalina/loader/WebappClassLoader): attempted duplicate
class definition for name: com/x/y/ZAction
I believe this error is thrown when
Hi all,
I have a form that I am submitting, the form returns the input result
which points to a jsp that contains an interior s:action tag that
loads some data for display into its own jsp rendered inside (menu). I
have noticed that when the form fails and the input result is called,
the s:action
Hi all,
I would like to use the struts tag libraries to instantiate a String
that is composed of static text as well as multiple other struts
properties, something akin to:
s:bean name=java.lang.String id=anId
aProp: 's:property value=aPropValue/', aProp2:
the strings using OGNL?
Dave
- Original Message
From: David Erickson halcyon1...@gmail.com
To: user@struts.apache.org
Sent: Sunday, January 4, 2009 2:28:06 PM
Subject: [S2] Easy way to create and place a String into page context built
using s:property tags?
Hi all,
I would
viewUser.do action updates the session
variable correctly, and any other actions that use it.
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 06:51
To: 'Struts Users Mailing List'
Subject: RE: Validator woes, modifying the input forward on the fly
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Sent: Monday, September 19, 2005 4:03 AM
To: 'Struts Users Mailing List'
Subject: RE: Validator woes, modifying the input forward on the fly?
Hi I have a situation like this:
User clicks on /viewUser.do?id=4
On 9/19/05, David Erickson [EMAIL PROTECTED] wrote:
-Original Message-
From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
Use ActionRedirect class in your STRUTS Action's execute:
ActionRedirect ar = new
ActionRedirect(mapping.findForward(myRedirectForward
Hi I have a situation like this:
User clicks on /viewUser.do?id=4 action, which loads the specific user with
id4 to be viewed.
On that page is a form, the form is submitted, if some part of the xml
validation fails I need to return back to /viewUser.do?id=4. It would be
ideal if the information
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Sunday, September 18, 2005 7:26 PM
To: user@struts.apache.org
Subject: Re: Validator woes, modifying the input forward on the fly?
David Erickson wrote:
Hi I have a situation like
as your page updates. You will also have to keep all information
that is displayed on your page in the session or request which can chew up
your bandwidth on heavly used sites.
Inactive hide details for David Erickson [EMAIL PROTECTED]David
Erickson [EMAIL PROTECTED]
David Erickson [EMAIL
Mailing List'
Subject: RE: Technique for undetermined time of processing - progress bar
Here is a graphical progress bar that doesn't use AJAX or JavaScript.
http://www.onjava.com/lpt/a/3886
Wiebe
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Monday, July
hide details for David Erickson [EMAIL PROTECTED]David
Erickson [EMAIL PROTECTED]
David Erickson [EMAIL PROTECTED]
07/22/2005 02:41 PM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
'Struts Users Mailing List' user@struts.apache.org
cc
Subject
Sorry for the vague subject. I've got a situation where I need to do some
processing before moving a user to a specific page. The processing could be
very fast or very long. I'd like to have some kind of a progress bar type
meter than can show how much time is left. I will know for sure the
I'd consider changing to an implementation that is Filter based and
opens/closes a session on every request... that way you could easily get the
current session from the request scope.
-David
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Neumann
Sent:
Can anyone shed some light on this error?
2005-06-24 17:12:18,671 [ERROR] action.ActionServlet - Parsing error
processing resource path /WEB-INF/struts/struts-config.xml
java.lang.NoSuchMethodException: No such accessible method:
addForwardConfig() on object:
Love solving my own problems =).. the class needs to be with the type
property not className..
-David
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Friday, June 24, 2005 5:21 PM
To: 'Struts Users Mailing List'
Subject: Weird Error
Can anyone shed some
Hi I am wondering how I can take a byte[] and use it as a URL parameter? I
have tried converting it to a string using varying character sets, but when
I call string.getbytes I never get back my original array. Any help would
be greatly appreciated.
Thanks
David
().
Michael.
On 6/22/05, David Erickson [EMAIL PROTECTED] wrote:
Hi I am wondering how I can take a byte[] and use it as a URL parameter?
I
have tried converting it to a string using varying character sets, but
when
I call string.getbytes I never get back my original array. Any help
would
array as url parameter
David Erickson wrote:
Hi I am wondering how I can take a byte[] and use it as a URL parameter?
I
have tried converting it to a string using varying character sets, but
when
I call string.getbytes I never get back my original array. Any help
would
be greatly
to String?
http://java.sun.com/j2se/1.5.0/docs/api/
???
Martin-
- Original Message -
From: David Erickson [EMAIL PROTECTED]
To: 'Struts Users Mailing List' user@struts.apache.org
Sent: Wednesday, June 22, 2005 3:54 PM
Subject: RE: How to encode byte array as url parameter
I took a look
up to base 62 (same principle as hex
notation, but using [a-cA-Z0-9]).
I think that probably gives you the most compact URL-safe representation,
though I'm not sure. Compare URL-encoded Base64 vs. this technique and see
which works best for you.
L.
David Erickson wrote:
Thanks
Hi everyone here are my goals:
Be able to dynamically create fields in a form (they will be known at
runtime, but only then)
Be able to pre-populate these fields, then harvest them from the user
I know I can do this by using session scoped beans with a map-backed form
and in the name of my
Hi I've got a custom javabean that I want to move all of its public
properties directly into a map held in a form.
I've tried BeanUtils.copyProperties(myMap, myObject); as well as
PropertyUtils.copyProperties(myMap, myObject);
neither seem to do what I want, however if I reverse it for moving data
Hi I've got a pretty basic problem and I can't seem to understand why the
html:img tag doesn't support it. I've got all my images stored under the
default module in the /images directory. I want to access them from
different modules. I tried html:img page=/image/myimage.gif module=/
and it does
to RE: html:img tag and modules
Struts Users
Mailing List
[EMAIL PROTECTED]
he.org
PLEASE TAKE ME OFF THIS MAILING
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 18
Thanks Kishore, curious what does the pagePattern of the controller actually
do?
-David
- Original Message -
From: Kishore Senji [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, August 18, 2004 2:03 PM
Subject: Re: html:img tag and modules
module
:49 AM
Subject: Re: New Validating system instructions?
At 9:18 PM -0600 6/22/04, David Erickson wrote:
Just wondering if there are any docs up on how the validator works in the
new nightly builds of struts... trying to transition everything to using
ActionMessages and storing the errors
extends=.base
put name=body value=/admin/user/userList.jsp/
/definition
Any ideas?
thanks,
David Erickson
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Just wondering if there are any docs up on how the validator works in the
new nightly builds of struts... trying to transition everything to using
ActionMessages and storing the errors/messages under different keys within
that object, just wondering how to do that using the validator.xml plugin.
You might also want to use indexed properties.
Look into the indexed=true flag on the html taglibs.
-David
- Original Message -
From: sean jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 8:29 AM
Subject: Re: Problem with Dynamic text boxes
biswajit.basak at
The key its stored under is simply the name you define it as in the
form-bean section in your struts config. IE:
form-bean name=myBean type=com.something.Form/
and then an action using this
action name=myBean scope=session
Would put an instance of com.something.Form into the session scoped
What is your url-matching you are doing with your Action servlet in web.xml? if your
matching *.do you may need history.do in there. Also remove that trailing / from the
end of your url.
-David
- Original Message -
From: Naresh Sharma
To: [EMAIL PROTECTED]
Sent: Tuesday,
Is it possible to use dot notation with the xml validator? Ie i want to
validate the zipcode String which is a member variable of my reference
object which is on the form. Ie reference.zipcode? I've tried but havn't
been successful.. anyone else solved this?
This is essentially what I'd like to
Hi I am using some ValidatorActionForms.. here's an example of my validation
mapping:
form name=/admin/updateUser
field property=user.email depends=required,email
msg name=email key=error.email.format/
arg0 key=(How do I insert the value of that variable here?!)
resource=false/
/field
/form
37 matches
Mail list logo