Dakota Jack wrote:
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay
[EMAIL PROTECTED] wrote:
The problem is, that only one of those buttons
works, while the other throws a MissingResourceAction. That sounds like
a typo, but the strange thing is, that it tries to lookup the button's
value
Bala.Paranj 'at' novainfo.com writes:
Note: The information contained in this email and in any attachments is
intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. Any review,
retransmission, dissemination or other use of,
Hello,
Sorry for little intrusion
Wanna schedule jobs? Use quartz ... it's cool!
Regards
marco
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: 07 December 2004 23:43
To: Struts Users Mailing List
Subject: Re: [OT]Threads and Servlets Question
-Ursprüngliche Nachricht-
Von: Bill Keese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 8. Dezember 2004 08:44
An: Struts Users Mailing List
Betreff: Re: [OT] Tomcat vs Resin
With lightweight pages resins performance is double of tomcat performance
(400 requests per second
-Ursprüngliche Nachricht-
Von: Bill Keese [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 8. Dezember 2004 08:44
An: Struts Users Mailing List
Betreff: Re: [OT] Tomcat vs Resin
With lightweight pages resins performance is double of tomcat performance
(400 requests per second
My experience is that the computer is always right, so I would look in
my properites file, if I were you, and see whether or not I had
reversed the myButtonForward=go to go=myButtonForward. Did you? I
feel compelled to reiterate that LookupDispatchAction is a fairly poor
example of the code
I meant mybutton.forward=go to go=mybutton.forward
On Wed, 8 Dec 2004 04:46:58 -0800, Dakota Jack [EMAIL PROTECTED] wrote:
My experience is that the computer is always right, so I would look in
my properites file, if I were you, and see whether or not I had
reversed the myButtonForward=go to
Dakota Jack wrote:
My experience is that the computer is always right, so I would look in
my properites file, if I were you, and see whether or not I had
reversed the myButtonForward=go to go=myButtonForward. Did you? I
feel compelled to reiterate that LookupDispatchAction is a fairly poor
I have a form that I pre-populat with some data that I'm passing forward
from the action that point's to the form.
But then when I validat, and the validation fails. I then get returned
to the form, as struts works.
But have do I get the origainal data in the form again. And not just the
data
At 2:49 PM +0100 12/8/04, marc wrote:
I have a form that I pre-populat with some data that I'm passing
forward from the action that point's to the form.
But then when I validat, and the validation fails. I then get
returned to the form, as struts works.
But have do I get the origainal data in
Please ignore this message.
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 7:47 AM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction doesn't lookup mapping
My experience is that the computer is always right, so I would
I use Session-scoped forms. Not much to think about. But, this might help:
http://www.reumann.net/struts/articles/request_lists.jsp
Erik
marc wrote:
I have a form that I pre-populat with some data that I'm passing
forward from the action that point's to the form.
But then when I validat, and the
Thank you, that helped :-)
Erik Weber wrote:
I use Session-scoped forms. Not much to think about. But, this might help:
http://www.reumann.net/struts/articles/request_lists.jsp
Erik
marc wrote:
I have a form that I pre-populat with some data that I'm passing
forward from the action that point's
Hi
You write that : The LookupDispatchAction tries to call a method named
weiter instead
of forward, while it calls the back-method as expected.
As far as I remember weiter is the German word for forward - There
might be a locale issue here.
Hermod
-Original Message-
From: Alexander
Are there any known problem with the Struts validator framework and
handling international characters.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Original Message-
From: Alexander Czernay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 6:14 AM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction doesn't lookup mapping
Dakota Jack wrote:
My experience is that the computer is always right, so I
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of marc
Sent: Wednesday, December 08, 2004 6:49 AM
To: [EMAIL PROTECTED]
Subject: How do I pre-populat, with the same data, after validation?
I have a form that I pre-populat with some data that I'm
passing
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 8:03 AM
To: [EMAIL PROTECTED]
Subject: RE: LookupDispatchAction doesn't lookup mapping
Hi
You write that : The LookupDispatchAction tries to call a method named
weiter
Thanks to all of you for the replies. I decided to go with tiles since my app
is very simple.
Again, I appreciate the input.
Nadia
-Original Message-
From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 07, 2004 4:07 PM
To: Struts Users Mailing List
Subject: Re:
HI,
Another newbie question.
I need to build several pages with tabs. I'm using tiles. What is the best
way to implement it? Any examples, tutorials?
Thanks
Nadia
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Check out Struts Menu
http://struts-menu.sourceforge.net/
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wed 12/8/2004 10:27 AM
To: Struts help (E-mail)
Cc:
Subject: Tiles and Tabs
HI,
-Original Message-
From: Nadia Kunkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 9:27 AM
To: Struts help (E-mail)
Subject: Tiles and Tabs
HI,
Another newbie question.
I need to build several pages with tabs. I'm using tiles.
What is the best way to
Hi all
I have a form that uses the standard form validation based on the
validation.xml file. It all works fine except for when I'm pre-populating
the form on first showing. The validation is kicking in before the data is
retrieved from the database.
Can anybody show me how to initialise
Thanks Jim, that works for the initial validation. Thank you.
However, if you look at my code below you'll see I have a reset button on
the page. When I press this I want the form to repopulate like it does on
initial entry. However, the validation is kicking in.
If I have bad values on the
-Original Message-
From: Donie Kelly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 10:22 AM
To: Struts Users Mailing List
Subject: RE: Form validation
Thanks Jim, that works for the initial validation. Thank you.
However, if you look at my code below you'll
set the onclick attribute to bCancel=true;
The Cancel tag does this automatically and it causes the server side
validation to be skipped as well, but it sets the name to
Constants.CANCEL_PROPERTY. You could create your own custom version by
extending CancelTag and overriding the prepareName()
The code in LookupDispatchAction is:
String key = (String) lookupMap.get(name);
String methodName = (String) keyMethodMap.get(key);
Therefore, if you know what your code is returning as key and you
know what your code is returning as methodName and if the key is
correct, the
The problem with this analysis, Hermod, is that the determination of
what method to call happens after the correct key is found, and the
correct key can be found only if there is no locale issue.
I am assuming that when Alexander says the method weiter is being
called he means that.
Jack
On
Sorry if this is not helpful to you, Jim. However, I meant the
opposite of what you are saying. I am saying that the computer is
doing exactly what is coded and, so, the answer lies in tracking the
output. I would never think that the impossible is possible or any
other such philosophical
Given the accuracy of what Alexander has said, if the method return is
weiter from the keyMethodMap, then the key being called is returning
a value of weiter and that has to be in the key method map. That is
not guesswork. That is what has to be having, if the debug
information on this thread is
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 11:28 AM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction doesn't lookup mapping
Sorry if this is not helpful to you, Jim. However, I meant the
opposite of what
What he is putting on the page and what is in his application
resources properties cannot determine, ever, what keyMethodMap is
returning. These are wrong avenues IF Alexander is accurate when he
says the class is seeking the method weiter. That can ONLY be the
case if the keyMethodMap holds the
-Original Message-
From: Yves Sy [mailto:[EMAIL PROTECTED]
Here's a follow-up question:
I remember creating a thread in one of my Action classes because I
needed to show a Wait while your request is being processed... page.
The flow goes something like:
1. the MAIN
Hello josh,
this is the way we do it:
How to prevent struts application from session creation
===
You must prevent calls to request.getSession() (== request.getSession(true))
method wich creates HttpSession if it does not exist.
1. Add to
Hi
what is the current production version of struts, is
it 1.2.4 or 1.2.5 or 1.2.6,
I have a current struts project using 1.1, and have
apportunity to migrate to new struts version, which
one should i jump on
My application will be going live in next 2 months
Ashish
Right now it's still 1.2.4 http://struts.apache.org/download.cgi#struts124
On Wed, 8 Dec 2004 11:35:40 -0800 (PST), Ashish Kulkarni
[EMAIL PROTECTED] wrote:
Hi
what is the current production version of struts, is
it 1.2.4 or 1.2.5 or 1.2.6,
I have a current struts project using 1.1, and have
Hi
If 1.2.4 is current release then what are 1.2.5 and
1.2.6,
why there are 2 builds which are in development
version and not only one?
Ashish
--- Hubert Rabago [EMAIL PROTECTED] wrote:
Right now it's still 1.2.4
http://struts.apache.org/download.cgi#struts124
On Wed, 8 Dec 2004 11:35:40
The Struts dev team makes milestone builds and makes them available to
the general public so people have access to versions that are more
updated than the production release but more stable than the nightly
builds. Each milestone build is a potential production release (or
a potential dud)
hihi all,
my apologies i realize my question is not restricted to struts per se,
but i'm hoping to get help from the many experts here...
is there an ansi sql compliant way (ie. i'm using jdbc) to update many
columns in a table with values from another table without using a
subquery for each
I can't guarantee this is ANSI, but I know it works in Oracle.
UPDATE tableA
SET (a,b,c) = ( select a,b,c FROM tableB where tableB.key =
tableA.key )
Just make sure the select returns the same number of columns as in the
set and that the select only returns one row per updated table row.
-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 1:49 PM
To: struts
Subject: OT: multiple column update statement using subqueries
hihi all,
my apologies i realize my question is not restricted to struts per se,
but i'm hoping
I'm in a conundrum. I have a page that normally displays a pick list.
Sometimes, though, I don't want folks to editso I just display
the values.
But for picklists, I don't want to display the value, but what the
pick list resolves to. I already have the list the picklist uses in
the
I recently got into the implementation of a Struts application, which
I've sadly been away from for quite a while. There's some issues that
I'm rusty on. I've searched the archive, but I didn't find enough that
addressed all of my issues. What I have right now actually works, but I
feel like
Hi, Lee,
Did you try bean:define?
bean:define id=dataStewardId name=metricForm property=dataStewardId/
logic:iterate id=dataSteward name=dataStewardList
logic:equal name=dataSteward property=roleId value=%=
dataStewardId %
bean:write name=dataSteward property=roleName/
While setting up a struts framework on linux (Debian) I have trouble
getting my application to work.
I get two significant error messages and I hope by solving the first
issue the second one disappears.
I use the testing packages on Debian (tomcat4 4.1.30-6 and
libstruts1.1-j 1.1-2).
The first
logic:iterate id=dataSteward name=dataStewardList
bean:define id=test name=metricForm property=dataStewardId/
logic:equal name=dataSteward property=roleId value=%= test %
bean:write name=dataSteward property=roleName/
/logic:equal
/logic:iterate
This code
-Original Message-
From: Bernd Prager [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 2:43 PM
To: [EMAIL PROTECTED]
Subject: ZipException: Permission denied
While setting up a struts framework on linux (Debian) I have trouble
getting my application to work.
I get
On Tue, 7 Dec 2004 03:59:39 + (UTC), Marc [EMAIL PROTECTED] wrote:
Hi there. Help a struts rookie pls.
I have successfully implemented a two step wizard like interface where I have
A.jsp for the first step and B.jsp for the second step.
But now I need an ability to dynamically change
Ok, I have removed the xml comments I made and I still get an error:
BEA-101216 Servlet: action failed to preload on startup in Web
application: /.
(full error below)...
Here are my various xml descriptors:
web.xml:
=
?xml version=1.0
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 3:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Error upgrading from 1.1 to 1.2.4
Importance: High
Ok, I have removed the xml comments I made and I still get an error:
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 4:49 PM
To: Struts Users Mailing List
Subject: RE: ZipException: Permission denied
You haven't said what your experience level with Linux and
Tomcat is... so this may be a
struts-config
!-- === --
!-- Standard Form Bean Definitions --
!-- === --
form-beans
form-bean
Mick,
I think the point wasn't for you to post everything but to examine the path
attribute of your action-mappings and see if you listed any as empty () or
ONLY a slash /, i.e. not /SOMETHING. If you do have or /, you
shouldn't do that. Instead, we recommend you set the attribute
unknown=true
Hello,
We would like to introduce a custom parameter into all action's
ActionMappings. I've looked at a bunch of examples and threads, but
can't get it to work. Here's the setup:
Struts-config:
--
action-mappings type=com.foo.bar.actions.CustomActionMapping
action
The failure is actually when deploying the ear into web logic. So there is
nothing that was called to get this error except starting up the action Servlet
itself.
BTW, Sorry for posting so much.
Mick Knutson
Wells Fargo Business Direct
(415) 222-1020
This message may
Mick,
Have you tried commenting out all actions from your action-mappings segment
to see if it is specific to that section or if it is something else in the
config file? When all else fails, the process of elimination helps.
Regards,
David
-Original Message-
From: [EMAIL PROTECTED]
No luck. I commented out all my actions, and the error did not change.
Mick Knutson
Wells Fargo Business Direct
(415) 222-1020
This message may contain confidential and/or privileged information. If you
are not the addressee or authorized to receive this for the addressee,
Now I reverted all my xml files back to the original ones in cvs and then
deployed and I get this error:
Parsing of JSP File '/WEB-INF/default/default.jsp' failed:
/WEB-INF/default/default.jsp(5): Error in using
Hi,
thanks for your offering of help.
I know that my Struts knowlegde is not the best yet -- no question about it --
but I'm willing to change that, as far as my time allows it.
Fortunately, my lecture is not of that importance you might have assumed, as I'm
'only' giving a presentation at
To all,
I have an LoginForm which is working fine. The problem is struts is not
forwarding after form validation. It never gets into the LoginAction class.
This is the output to the log file.
DEBUG - Validating input form properties
INFO - IN LogonForm CLASS: ActionErrors METHOD
INFO -
Sounds good! You'll find that the people here are extremely helpful,
but they do tend to shy away from general questions (unless they are SO
general as to be theoretical, in which case EVERYONE has an opinion :)
), so the more specific a question you can ask, the better.
As for books to read,
Everything you've done looks right. What version of Struts are you using,
because I believe the type attribute existed in Struts 1.0.x but was
ignored.
Niall
- Original Message -
From: Dahnke, Eric (Company IT) [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent:
Looks like you have a missing in your struts-config after
input=/logon.jsp
actionpath=/logon
type=app.web.LogonAction
name=logonForm
scope=request
input=/logon.jsp
forward name=success
1.2.6 is being voted in at the moment:
http://thread.gmane.org/gmane.comp.jakarta.struts.devel/23674
...so far 3 votes for beta status and if thats the end result of the vote
then theres likely to be a 1.2.7 soon.
As Hubert said 1.2.4 is the current ga release - if you want to know the
Upgrade notes are here:
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124
Niall
- Original Message -
From: Srinivas [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED]
Sent: Thursday, December 09, 2004 6:14 AM
Subject: Any Problem faced after upgrading from Struts1.1 to Struts1.2.
65 matches
Mail list logo