--- "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
> -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 suppose
ute to match my 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 hellowo
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 Zer
--- 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
-
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
t;Action Information - main" table, 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
> >
gt; > > 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"
> > >
te:
> "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
"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 hellowor
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
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: com.wamu.struts.helloworld
--- "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
els
ut I'm not sure what to do now.
>
> > -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 n
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 what the
ch 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
uot; <[EMAIL PROTECTED]> wrote:
> > -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
> >
> -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,
>
>
18 matches
Mail list logo