I've got two questions,
this is more to do with my tomcat configuration, but I can't get the
documentation and exmaples to load as .war files, currently I have
in tomcat.xml (renamed form server.xml)
Context path="/struts-documentation"
docBase="/cyber4/projects/devel/endonet/htdocs/struts-documentation"
debug="0"
reloadable="true" >
</Context>
this is also inside a <host ...></host> tag. It works if I expand the
.war file out under htdocs/struts-documentation, but otherwise not. How do
I change the this to make it work?
The other question is I had a test application that was working,
but the the 6-Dec-2000 build it doesn't seem to call the
form validate method anymore. Have there been any changes
since the middle of November that missed by me on the configuration
file or Action class? My struts-config.xml looks like (the important
bits anyway)
where MultipageAction and MultipageForm are the ralavant
beans, the first page is page1.jsp and the follwing page
is page2.jap then success.jsp
<form-beans>
<!-- Multipage form bean -->
<form-bean name="multipageForm"
type="MultipageForm"/>
</form-beans>
<!-- ========== Global Forward Definitions ============================== -->
<global-forwards>
<forward name="success" path="/success.jsp"/>
</global-forwards>
<!-- ========== Action Mapping Definitions ============================== -->
<action-mappings>
<!-- Edit user registration -->
<action path="/multipage"
type="MultipageAction"
name="multipageForm"
scope="request"
input="/page1.jsp"
validate="false">
<forward name="page1" path="/page1.jsp"/>
<forward name="page2" path="/page2.jsp"/>
</action>
--
Kumera - a new Open Source Content Management System
for small to medium web sites written in Perl and using XML
http://www.cyber4.org/kumera/index.html