Dave Newton wrote:
--- Jeromy Evans [EMAIL PROTECTED] wrote:
Any theories where the 4th package is being created? CLUE: take a harder
look at web.xml in the original post.
That's why I asked about the actionPackages element; is that it?
Dave
Precisely. I didn't realise that
Java class, and then remove the namespace
attribute, do you expect that will work?
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 11:35 PM
To: Struts Users Mailing List
Subject: Re: Simple helloworld test fails with Could not
find
-Original Message-
From: Karr, David
Sent: Thursday, March 06, 2008 6:30 AM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
So is the package attribute supposed to match the Java
package of the Action classes? Martin
--- Karr, David [EMAIL PROTECTED] wrote:
So is the package attribute supposed to match the Java
package of the Action classes? Martin Gainty had earlier
said I should use actionPackages. Before I added that, it
wasn't even getting into my Action classes at all. If I now
remove
-Original Message-
From: Wes Wannemacher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 7:11 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
David,
This has been bugging me since my first response
:
-Original Message-
From: Wes Wannemacher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 7:11 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
David,
This has been bugging me since my first response
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
I'm still a little puzzled by this.
If you have a chance could you remove the namespace bit on
the package and see what the config-browser reports? I'm also
curious what happens if you
List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
I'm still a little puzzled by this.
If you have a chance could you remove the namespace bit on
the package and see what the config-browser reports? I'm also
curious what happens if you change the name
.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:05 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
I'm still a little puzzled by this.
If you have a chance
--- Karr, David [EMAIL PROTECTED] wrote:
Changing the package name to default didn't seem to have an impact on
the error. I assume you meant to do that while not having the namespace
attribute?
Correct.
I'll try to duplicate your issue tomorrow; you can send me a copy as someone
else
And when you visit that location it's giving you the error about not having a
result for success?
Dave
--- Karr, David [EMAIL PROTECTED] wrote:
Without the namespace attribute, config-browser reports this:
Action name: main
Namespace:
Action class:
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:05 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
I'm still a little puzzled by this.
If you have a chance could you remove the namespace bit on
the package and see
No result defined for action com.wamu.struts.helloworld.MainAction and
result success
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:41 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find
com.wamu.struts.helloworld.MainAction and
result success
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:41 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
And when you
defined for action com.wamu.struts.helloworld.MainAction
and result success
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 8:41 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not find
, the contents of the
Results tab is empty.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2008 9:21 PM
To: Struts Users Mailing List
Subject: RE: Simple helloworld test fails with Could not
find action orresult
And the config
I can reproduce it using David's source.
In his original broken struts.xml configuration (no namespace
specification, reposted below) , four packages are configured:
struts-default in namespace ,
string-default in namesapce ,
helloworld in namespace , and
com.wamu.struts.helloworld in
--- Jeromy Evans [EMAIL PROTECTED] wrote:
Any theories where the 4th package is being created? CLUE: take a harder
look at web.xml in the original post.
That's why I asked about the actionPackages element; is that it?
Dave
18 matches
Mail list logo