struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frans Thamura <fr...@meruvian.org>
Subject co-exist REST and Old model
Date Thu, 24 Sep 2009 11:02:39 GMT
hi all

i try several small REST and old S2 development

and the old one cannot work

can help?

this is simple xml of S2.xml,



<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
        "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
    <!--  Overwrite Convention -->
    <constant name="struts.convention.action.suffix" value="Controller"/>
    <constant name="struts.convention.action.mapAllMatches" value="true"/>
    <constant name="struts.convention.default.parent.package"
value="rest-default"/>

    <constant name="struts.convention.package.locators" value="cimande"/>
	<package name="default" extends="struts-default">
        <action name="helloWorld" class="helloWorldClass">
            <result name="SUCCESS">/success.jsp</result>
        </action>
    </package>
</struts>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message