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
--
> Subject: Re: [S2] 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
On Sat, Jan 31, 2009 at 8:38 AM, Dale Newfield 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"
>
>
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 e
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 n
ing OGNL?
>
> Dave
>
>
>
> - Original Message ----
>> From: David Erickson
>> 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 t
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:
aProp: '', aProp2:
''
However I see no way to set the constructor on the Strin
> 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:
> > >
> > > Actio
> -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
ou'll
> just need to make sure your 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 Mai
> -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 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 fr
#x27;Struts Users 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-
&
l have a lot of
"Flicker" 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
Eri
t to the next screen.
Inactive 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"
To
"&
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 exa
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: Mo
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 E
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: org.tecas.struts.actions.ConfirmEmailA
d be more
> compact. But you can go all the way 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
en
> using toExternalForm() to convert back 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'"
> Sent: Wednesd
to encode byte 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
r hand, you may use Base64, and then URLEncoder.encode().
>
> 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 char
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
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 fields
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
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
> mod
<[EMAIL PROTECTED]>
> PM cc
>
>Subject
> Please respond to RE: html:img tag and modules
>"Struts Users
>Mailing List"
> <
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
and it does not work, it tries to rewrite the url to
So I guess I'm the only one who has beef with the way this currently works?
-David
- Original Message -
From: "David Erickson" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, July 26, 2004 6:50 PM
Subject: Tile
Ok so as far as struts is concerned, if your within a module, say /user, all
actions defined in struts-config-user.xml will resolve to that directory,
for example:
would resolve to /(AppContext)/user/editPage.do
However this same functionality does not appear to exi
iling
List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 2004 7: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
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.
Th
have to specify /admin..
Any ideas?
thanks,
David Erickson
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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, Jun
The key its stored under is simply the name you define it as in the
form-bean section in your struts config. IE:
and then an action using this
Would put an instance of com.something.Form into the session scoped
attribute named myBean.
If you want to remove that bean from session at the end of
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
> tcs.com> wr
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:
my message looks like error.email.format={0} is not a valid e-mail address.
What I'm wondernig is how do I substitute the actual value they inputted
into the message using the validate.xml? I know
39 matches
Mail list logo