We have a problem. We're working on an application and we have some
forms in session scope. The strange thing is if someone changes state on
their form, users on other computers on other browsers hitting the same
exact page see the state change that was made to the form on another
computer. I have
for example...
c:if test=${! empty myFormBean.myArrayList}
c:forEach items=${myFormBean.myArrayList} var=item
varStatus=loop
c:out value=${item.memberField} /br /
/c:forEach
/c:if
Preston
[EMAIL PROTECTED] 9/30/2005 6:19:26 PM
On 10/1/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
We
in
the ActionForm. It's probably a problem with instance variables in
your
Actions.
On 9/30/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
We have a problem. We're working on an application and we have some
forms in session scope. The strange thing is if someone changes state
on
their form, users
No. What information would be useful and relevant? Struts-config? The
form bean itself? The action, the JSP? I didn't want to overload the
list, obviously.
Preston
[EMAIL PROTECTED] 10/3/2005 9:40:37 AM
Preston CRAWFORD wrote:
Don't really have any instance variables in the actions. Just
I'm trying to setup global exception handling. I have web.xml sending
404 and 500 exceptions to /error.do. In that action I should be able to
get at the exception, shouldn't I? Or do I have to do that earlier in
the process? I simply want to get at the exception and log it.
Preston
can log that.
Preston
[EMAIL PROTECTED] 10/3/2005 2:33:16 PM
Preston CRAWFORD on 03/10/05 21:47, wrote:
I'm trying to setup global exception handling. I have web.xml
sending
404 and 500 exceptions to /error.do. In that action I should be able
to
get at the exception, shouldn't I? Or do I have
://struts.apache.org/userGuide/building_controller.html#exception_handler
That's probably the way you want to go, might save you some trouble.
I'm not sure when it was introduced though, so if your a ways behind in
Struts version it might not be available.
Frank
Adam Hardy wrote:
Preston
for
mapping.getParameter() - perhaps slightly less coding.
Preston CRAWFORD on 03/10/05 23:10, wrote:
Even then, is there any way to get at the exception at self so it
gets
printed? The problem is that when you setup web.xml to send it to an
action (I can't figure out a different way to do
browser-dependent.
So basically a real live java exception would tell you no more than you
already know, except perhaps if there is one, a stacktrace from the
guts
of your appserver.
Preston CRAWFORD on 03/10/05 23:57, wrote:
Right, but even at this point, if I did this, how do I get
This actually does get me some of the information. Unfortunately since
I'm sticking another servlet (my action) in between, the exception acts
like it's coming from my action. So it appears I may have to go the
route of extending the ExceptionHandler. I was hoping there was a way to
avoid that,
Tomcat 5.0.28.
[EMAIL PROTECTED] 10/4/2005 3:34:31 AM
What's your container? I saw this behaviour on older resin
implementations, it was obviously a bug, that in some sequence of
requsts the session got mixed, B got A's session, but only for one
request, after that it had it's own session. Try
(as in I'll logout, shut down the browser,
open up the browser and there it is again). So this has me wondering if
it's related to hibernate, which we are using to populate this object.
Preston
[EMAIL PROTECTED] 10/4/2005 3:31:29 AM
On 10/4/05, Preston CRAWFORD [EMAIL PROTECTED] wrote
in and it behaved as expected. It wasn't there.
Preston
[EMAIL PROTECTED] 10/4/2005 8:29:57 AM
On 10/4/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
Tomcat 5.0.28.
this should work. However try logging out the sessionIds and compare
them to the jsessionid cookies, just to be sure.
Maybe you are also hit
know how do you populate the objects, if it's a complicated
process
try to take out some of the functionality temporary until you get to
the
point
when it does work.
Tamas
On 10/4/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
Well, a lot changed yesterday. I took all forms out of session
trace.
Preston
[EMAIL PROTECTED] 10/5/2005 3:34:04 PM
Preston CRAWFORD wrote:
This actually does get me some of the information. Unfortunately
since
I'm sticking another servlet (my action) in between, the exception
acts
like it's coming from my action. So it appears I may have to go the
route
logs off?
Regards,
Gareth
Preston CRAWFORD wrote:
This is why I haven't sent code. Because I am narrowing it down already.
Same behaviour on WebSphere as of yesterday. Behaviour isn't exhibited
when the object in question isn't created as a result of Hibernate, but
rather populated manually
Once again a question about best practices. So I setup an error page,
referenced in struts-config.xml that shows the error. My problem is
this.
#1 - I want to log the error and print out to the console in addition
to going to the error page. This isn't happening. Does this mean that I
need to
I've done this in the past. Used modules to logically (and for the sake
of having sane config files) break up these config files. However I'm
wondering if anyone avoids using modules and maybe merges the files
using ANT or something? Reason I ask is because I know there are
pitfalls to using
fit.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Tue, October 11, 2005 4:36 pm, Preston CRAWFORD said:
I've done this in the past. Used modules to logically (and for the
sake
and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Tue, October 11, 2005 4:36 pm, Preston CRAWFORD said:
I've done this in the past. Used modules to logically (and for the
sake
of having sane config files) break up
Oooh. I like that. That works relatively well so far, although it's not
picking up on my secondary tiles-defs.xml file.
Preston
[EMAIL PROTECTED] 10/11/2005 2:26:22 PM
From: Preston CRAWFORD [EMAIL PROTECTED]
I've done this in the past. Used modules to logically (and for the
sake
of having
I don't know why (I've been doing struts development for years, but I
guess we've always been very explicit in our struts-config files), but
only recently did I discover that this was the default behavior for form
beans. And I'm trying to figure out, mostly on a higher level, on a
theoretical
will be included into next version of
Struts Dialogs.
Michael.
On 10/26/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
I don't know why (I've been doing struts development for years, but
I
guess we've always been very explicit in our struts-config files),
but
only recently did I discover
We have a simple login form. By the book. For some reason all of a
sudden the validation in validation.xml is no longer getting called.
We
have validate set to true in the action. Everything is still named the
same. Any idea why this would have changed or where to start looking?
Preston
file telling it to use
the
validation plugin. Try that line of investigation.
Not sure off the top of my head.
Shawn D. Garner
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 11:39 AM
To: user@struts.apache.org
Subject: Validation
Nothing that I can see. What could I log to find out what's going on? It
basically just doesn't get called.
Preston
[EMAIL PROTECTED] 11/8/2005 10:52 AM
Preston CRAWFORD wrote:
We have a simple login form. By the book. For some reason all of a
sudden the validation in validation.xml
need something in the struts config file telling it to use
the
validation plugin. Try that line of investigation.
Not sure off the top of my head.
Shawn D. Garner
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 11:39 AM
To: user
and the interesting thing is that I
don't see the form validation getting built or initialized. What would
that look like? I wonder why that would not be occurring.
Preston
[EMAIL PROTECTED] 11/8/2005 3:23 PM
On 11/8/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
I have that. Either way the bottom line
-rules.xml, etc. Are they
recent (as in someone might have modified them before the last webapp
restart) or dated months ago (indicating no recent changes) ?
Regards,
David
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 7:05 PM
To: user
using
multiple (or module based) struts-config.xml files.
Regards,
David
-Original Message-
From: Preston CRAWFORD [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 08, 2005 9:27 PM
To: user@struts.apache.org
Subject: RE: Validation seemingly not getting called any longer
Solved
It appears that way. I've been so heads-down doing Struts alone that I
hadn't really noticed this change in direction. I applaud the Struts
team for being nimble and picking a direction while keeping backwards
compatability. My question, though, is how many of you out there are
actually beginning
Okay, this is a little complex, so hopefully I can describe it well so
as not to confuse anyone.
We have a need for the following. We need a reusable set of actions,
JSPs, etc. that operate in a popup to allow the user to search for a
medical provider. That's easy enough. The catch is this. The
such request. And then use
javascript window.open.href etc to point to the form in the page and
do
the necessary updations.you can both change the form values or add
components to the html page.
try it..do inform the result.
Regards,
R.Raghavan
[EMAIL PROTECTED] 11/18/05 1:23 pm
On 11/17/05, Preston
Yeah, no easy solution for this. The more I think about it the more it
occurs to me that what we're attempting to do is setup a common code
base for updating any N number of forms using Javascript. The plumbing
for this is easy and obvious (I listed it earlier). But making it a
single code base
to do is change one value. Or maybe we should
give in and use forms[0].X, etc.
Preston
[EMAIL PROTECTED] 11/19/2005 11:57:50 AM
Preston CRAWFORD wrote:
Yeah, no easy solution for this. The more I think about it the more
it
occurs to me that what we're attempting to do is setup a common code
base
Oh boy. It's hard to know which direction to go with all this churn.
Preston
[EMAIL PROTECTED] 11/28/2005 12:38:25 PM
I found this very interesting this morning:
http://www.theserverside.com/news/thread.tss?thread_id=37794#192216
and this as well
And this is about where I start ramping up my Ruby studying.
I mean, I'm all for competing frameworks, but when the Struts umbrella
covers 3 different frameworks (which in term utilize how many
technologies?) it begins to get a little silly. Which one should I be
learning/using? I know,
[EMAIL PROTECTED] 12/1/2005 7:30:16 PM
My personal belief is that component oriented development is more
accessible
to a wider array of developers than action oriented frameworks.
Therefore,
I spend my time (disclaimer: I'm paid to do this too, but that
doesn't
cover much of my open source
You may not be marketing anything, Ted. But those of us out in the field
that work with the decision makers and who help in the decision making
have to think about these things. It's the reality of living and
developing in a world where there are so many options.
Preston
[EMAIL PROTECTED] 12/3/2005 6:06:27 AM
On 12/2/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
You may not be marketing anything, Ted. But those of us out in the
field
that work with the decision makers and who help in the decision
making
have to think about these things. It's the reality
if
Shale were it's own project, not tied to the Struts name and Struts core
was allowed to ride off into the Sunset. This would be less confusing to
the business decision maker, I believe.
Preston
[EMAIL PROTECTED] 12/5/2005 2:16:17 PM
On 12/5/05, Preston CRAWFORD [EMAIL PROTECTED] wrote:
Of course
I can see the roof analogy. I just thought, branding wise, it was
confusing. You already have one layer with it being an Apache project.
So really Shale is Apache Struts Shale (formerly a Jakarta project that
still uses lots of Jakarta components). :-)
I don't know. I think the way things are
Exactly.
Or back to my example. Apache Jakarta Struts Shale.
Preston
[EMAIL PROTECTED] 12/5/2005 3:12:00 PM
Hm. Is it untidy that the Apache Software foundation has at least
three web application
frameworks? Should they be untethered from the Apache name and allowed
to ride off... ? For that
I'm starting to begin looking at JSF in part because of what I've read
here on the Struts mailing list. i.e. Struts is embracing JSF, many
developers see it as inevitable. I have some experience with Tapestry and
Ruby on Rails so I'm excited about component frameworks. However, what I
don't know,
I don't know what the future will hold. JSF may win the day on nothing
but marketing alone. It has the force of being a standard, and while
not all standards ultimately succeed, it certainly is a leg up on other
I would argue that with Java (J2EE specifically) standards have largely
just
On Tue, 13 Dec 2005, Dakota Jack wrote:
Preston, none of those examples are J2EE. They can be used with J2EE but
they have nothing to do with anything beyond J2SE.
Toolkit.
As in the tools one uses to build J2EE apps. Pedantic much...
Preston
On Tue, 13 Dec 2005, Dakota Jack wrote:
And, Josh, last time I looked JSP was not on the list we are talking about.
So, what was your point?
The point is you're being pedantic. I wasn't describing the entirety of
J2EE or even the implementation. Rather the tools, frameworks, etc. used
to
On Wed, 14 Dec 2005, Josh McDonald wrote:
Mainly I thought I'd interrupt the ranting :)
And what's tomcat if it's not an implementation of JSP / Servlets, and
hence a partial implementation of J2EE?
Just ignore him. He doesn't care to be helpful. Just wants to hear himself
speak.
Preston
On Wed, 2005-12-14 at 08:18 -0800, Dakota Jack wrote:
Look, Preston, if you want your own language with your own meanings, that is
I'm not creating my own language. You're being pedantic.
http://dictionary.reference.com/search?q=toolkit
Main Entry: toolkit
Part of Speech: noun
Definition:
with anything beyond J2SE.
On 12/13/05, Preston Crawford [EMAIL PROTECTED] wrote:
I don't know what the future will hold. JSF may win the day on
nothing
but marketing alone. It has the force of being a standard,
and
while
not all standards ultimately succeed
On Wed, 2005-12-14 at 08:37 -0800, Dakota Jack wrote:
This is not a koffee klatch where the girls can say whatever they like.
This is a professional forum and presumably it is okay to ask the
participants to make sense without being pedantic.
What did I say that didn't make sense? That I
On Wed, 2005-12-14 at 08:47 -0800, Dakota Jack wrote:
You originally said that your list was the virtual core of J2EE. That's
No. I never said virtual core.
what you said. You call someone a pedant when you want to demean something
they taught you. Anyway, for your pedantic purposes:
Or
On Wed, 2005-12-14 at 08:47 -0800, Dakota Jack wrote:
You originally said that your list was the virtual core of J2EE. That's
what you said. You call someone a pedant when you want to demean something
they taught you. Anyway, for your pedantic purposes:
Also, after you inevitably reply to
Ha!! :-)
Wow! that J2EE definition just rocked! I was so impressed that I looked
it up ... it comes from here:
http://www.answers.com/topic/j2ee
Cool hey?!
I guess I'll be looking up that resource for ad-hoc tech definitions too.
Dakota Jack wrote:
Date: Wed, 14 Dec 2005 08:47:38 -0800
Sorry about the noise there. I thought that was just sent to me and not
the list, so I accidentally replied to the list when I didn't mean to.
Preston
[EMAIL PROTECTED] 12/14/2005 3:34:26 PM
Ha!! :-)
-
To unsubscribe,
I have never had a concern about the umbrella idea, which is the latest
description of what is happening. I would in fact encourage that and
cannot
see any problem with it. However, I pay more attention to people's feet
than their lips. Is Shale the Next Struts? is the feet. The community
to show
huge
restraint of pen and tongue, since you did not comment on the Struts lists
for three years after your recently disclosed active involvement.
On 12/16/05, Preston Crawford [EMAIL PROTECTED] wrote:
I have never had a concern about the umbrella idea, which is the
latest
description
57 matches
Mail list logo