Can you confirm that you have struts2-core-2.0.6.jar in you lib folder
and it contains the struts-default.xml file in the root folder in the
jar file.
alex xander wrote:
hi, im using struts 2.x
and i have some problem here.
i break up my struts.xml into smaller piece
when i used struts 2.0.1 it works fine,
but when i change into struts 2.0.6 there is some problem
and here is the problem
my struts.xml
<struts>
<include file="struts-default.xml"/>
<package name="default" extends="struts-default">
.......
</package>
<include file="struts-pensiun.xml"/>
</struts>
struts-pensiun.xml
<struts>
<package name="jangkawaktu" extends="default"
namespace="/backend/parameter/jangkawaktu">
<action name="create"
class="com.bba.parameter.jangkawaktu.actions.JangkaWaktuForm">
<result name="success" type="velocity">save.vm</result>
<result name="error" type="velocity">../../error.vm</result>
</action>
</package>
</struts>
and here is the error
[ERROR] ConfigurationUtil - Unable to find parent package default
[ERROR] XmlConfigurationProvider - Unable to find parent packages default
[ERROR] pensiun] - Exception starting filter struts <Error building results for
action save in namespace /backend/parameter/jangkawaktu - action - file:/E:/data
%20kerja/tomcat-pensiunan/webapps/pensiun/WEB-INF/classes/struts-pensiun.xml:14:
91>Error building results for action save in namespace /backend/parameter/jangka
waktu - action - file:/E:/data%20kerja/tomcat-pensiunan/webapps/pensiun/WEB-INF/
classes/struts-pensiun.xml:14:91
i can't resolve the problem, why my struts-pensiun.xml can't find the default
package.
is there something i miss
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]