Thanks Ted.
This is getting interesting. I was really surprised that it worked for you, I
couldn't even wait til the weekend is over. On my extremely slow laptop at
home, I went and downloaded Tomcat 5.5.20 and Struts 2.0.1, and tried it.
Surprisingly, it DOES work!
I've been trying this
On 12/1/06, Tarek Nabil [EMAIL PROTECTED] wrote:
I'm open to any suggestions on how to get to the bottom of this issue.
Maybe it's this
* http://forums.opensymphony.com/thread.jspa?messageID=94747#94747
The sample was testing GET but not POST.
-Ted.
Looks like it is that issue indeed :(
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Fri 12/1/2006 4:34 PM
To: Struts Users Mailing List
Subject: Re: Parameters not being set on Action in Struts 2
On 12/1/06, Tarek Nabil [EMAIL PROTECTED] wrote:
I'm open
I dropped in the JARS from the the 2.0.1 showcase, and it seemd to
work just fine.
You might want to try deploying it on another workstation there.
-Ted.
On 11/29/06, Tarek Nabil [EMAIL PROTECTED] wrote:
Thanks Ted.
I sent the WAR file and zip file containing the source of the action to
I inspected it myself in a debugger the other day, and the property
was in the map.
If you like, send me a WAR of the test application, so we can work out
what's wrong. (The list doesn't accept attachments.)
-Ted.
On 11/28/06, Tarek Nabil [EMAIL PROTECTED] wrote:
It exhibits the same behavior
Thanks Ted.
I sent the WAR file and zip file containing the source of the action to
your email address directly.
I have a couple of other questions that I'll post on another thread and
I hope you'll help me with them, so that I can conclude my evaluation.
-Original Message-
From: Ted
Thanks Peter and Ted.
I'm afraid I didn't understand your advice regarding the IDE with
integrated debugging. Would that require me to use the source of Struts
2 rather than the JAR files as part of my application?
To keep things simple, I started an application from scratch. Kept
things to the
To clear my doubts, I re-built this application using WW 2.2.4. I
expected that it will work perfectly and that would prove it's some sort
of a bug. To my surprise, it exhibited the exact same behavior!
Now, since it's quite remote that such a drastic bug exists in WW 2.2.4,
I'm starting to
Try it again using a String property, to be sure it is not a problem
with the type conversion.
On 11/27/06, Tarek Nabil [EMAIL PROTECTED] wrote:
To clear my doubts, I re-built this application using WW 2.2.4. I
expected that it will work perfectly and that would prove it's some sort
of a bug.
It exhibits the same behavior even after converting the param
field/parameter to a String.
Is there a way to provide a JUnit test for that?
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Monday, November 27, 2006 6:52 PM
To: Struts Users Mailing List
Subject: Re:
On 11/26/06, Wesslan [EMAIL PROTECTED] wrote:
See the following thread:
http://www.nabble.com/-S2--Duty-now-for-the-future--%28was-Re%3A-Question-ab
out-struts2%29-tf2559552.html#a7132875
Struts2 also depends on a beta(snapshot) release of XWork2.
And this,
*
On 11/26/06, Tarek Nabil [EMAIL PROTECTED] wrote:
I was pretty sure that the correct method was being executed, because I
had some logging statements inside. One of those statements is the one
that attempts to log the parameter Map and it's still giving the same
result; an empty Map.
We'd need
First, simplify the problem. Right now, the code seems to be calling
an alternative method, setup. What happens if you try the same thing
with the default execute method?
If your application is based on the blank application, it may turned
the ! syntax off, since it can conflict with using
Thanks Ted.
I renamed my method to execute and changed the URL to remove the
!setup part.
I also changed the struts.xml file accordingly, so now it's like that
(note that I removed the input result, just in case it's causing any
problems).
action
name=dod1
See the following thread:
http://www.nabble.com/-S2--Duty-now-for-the-future--%28was-Re%3A-Question-ab
out-struts2%29-tf2559552.html#a7132875
Struts2 also depends on a beta(snapshot) release of XWork2.
Hth,
Peter
-Original Message-
From: Tarek Nabil [mailto:[EMAIL PROTECTED]
Sent: den
Hi,
I'm experimenting with Struts 2, and I'm facing a problem with request
parameters being populated on the Action. I checked out the source to
make sure that the behavior I expect is the correct one, and judging by
the source, it is, but it's not happening.
I have an action that has a method
16 matches
Mail list logo