You're right. I assumed that default namespace was package name. Thank you!.
On 8/25/07, Laurie Harper <[EMAIL PROTECTED]> wrote: > Alvaro Sanchez-Mariscal wrote: > > Hi, > > > > Is it possible to have actions with the same name but different > > packages & namespaces? > > > > <package name="dashboard" extends="hidra3-default"> > > <action name="main"> > > <result>/WEB-INF/jsp/dashboard/main.jsp</result> > > </action> > > </package> > > > > <package name="search" extends="hidra3-default"> > > <action name="main"> > > <result>/WEB-INF/jsp/search/main.jsp</result> > > </action> > > </package> > > > > Always, the first JSP declared in the XML file is returned. If we > > change action name to be uniques, everything works. > > > > What's wrong? > > What's wrong is that you don't have different packages & namespaces; you > only have different packages. A package is not the same thing as a > namespace. > > http://struts.apache.org/2.x/docs/package-configuration.html > http://struts.apache.org/2.x/docs/namespace-configuration.html > > L. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Alvaro Sanchez-Mariscal Arnaiz Java EE Architect & Instructor [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]