I am working on a plug-in that needs to display a JSP.  I have the plug-in
packaged with the following struts-plugin.xml, however, rather than the
/pages/config.jsp page appearing, I get a 404! The folder "pages" is in the
root of my config-plugin.jar file and I have changed the result by both
including and omitting the leading slash and I get a 404 either way.  My
action is returning SUCCESS as verified through the debugger.  Does anyone
see anything glaringly wrong?  

<struts>
        <package name="config" namespace="/config" extends="struts-default">
                <action name="maintainConfig_*"
                        class="com.erac.wsf.action.ConfigAction" method="{1}">
                        <result>/pages/config.jsp</result>
                        <result name="error">/pages/config.jsp</result>
                </action>
        </package>
</struts>

Peace,
Scott
-- 
View this message in context: 
http://www.nabble.com/Struts-2-Plug-in-and-JSP-404-tp24415564p24415564.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to