Dimitris Mouchritsas wrote:
Antonio Petrelli wrote:
2008/6/23 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
One thing to note though is we're
using xdoclet 1.2.3 to
create struts-config.xml for us. As I understand this version of
xdoclet
supports up to struts 1.2.x.
Could this be the culprit?
Probably. According to the source file:
http://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_8/core/src/main/java/org/apache/struts/chain/commands/servlet/PerformForward.java
it seems that a request dispatcher is not found, that is *really*
strange, and, IMHO, can only happen when a webapp did not start
correctly. Do you see an error at startup?
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
No, everything seems to start smoothly. I'll try to create a
struts-config.xml file by hand just for the home action and see what
happens.
Dimitris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm not sure it's the struts-config.xml file anymore. I'm using this:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<!-- ================================================ Form Bean
Definitions -->
<form-beans>
</form-beans>
<!-- ========================================= Global Exception
Definitions -->
<global-exceptions>
</global-exceptions>
<!-- =========================================== Global Forward
Definitions -->
<global-forwards>
<forward
name="welcome"
path="/Welcome.do"/>
</global-forwards>
<!-- =========================================== Action Mapping
Definitions -->
<action-mappings>
<action
path="/Welcome"
forward="/pages/Welcome.jsp"/>
<action
path="/home"
forward="home" />
<!-- sample input and input submit actions
<action
path="/Input"
type="org.apache.struts.actions.ForwardAction"
parameter="/pages/Input.jsp"/>
<action
path="/InputSubmit"
type="app.InputAction"
name="inputForm"
scope="request"
validate="true"
input="/pages/Input.jsp"/>
<action
path="/edit*"
type="app.Edit{1}Action"
name="inputForm"
scope="request"
validate="true"
input="/pages/Edit{1}.jsp"/>
end samples -->
</action-mappings>
<!-- ======================================== Message Resources
Definitions -->
<message-resources parameter="MessageResources" />
<!-- =============================================== Plug Ins
Configuration -->
<!-- =================================================== Validator
plugin -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/org/apache/struts/validator/validator-rules.xml,
/WEB-INF/validation.xml"/>
</plug-in>
<plug-in className="org.apache.struts.tiles.TilesPlugin">
<set-property property="definitions-config"
value="/WEB-INF/tiles-defs.xml" />
</plug-in>
</struts-config>
which is from another 1.3.8 sample app and I just added the action
definition for /home. Still I get the same exception.
Could it be that it's not finding a proper jar or something?
Dimitris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]