Follow this link : http://husted.com/about/scaffolding/catalog.htm
and have a look to "Use a forwarding Action for static pages".

Regards

Jos� PLACIDE


Le jeudi 20 d�cembre 2001, � 08:20 , Barry L. White a �crit :

> Tom Lister wrote:
>
>> Hi
>> I would like to set up an action that forwards to a static page - in 
>> this
>> case the javadoc for a sample application to show how struts can work. 
>> This
>> seems as if it should be straight forward but I am stuck
>> I have an action mapping
>> <action    path="/javadoc" forward="/web-inf/javadoc/index.htm">
>> </action>
>> a menu button as
>> <td class="menuItem">
>>              <html:form method="post" action="/javadoc"
>> target="DetailsFrame">
>>              <html:submit styleClass="menuItem">
>> <bean:message key="button.javadoc"/>
>> </html:submit>
>> </html:form>
>> </td>
>> but I get an error  of
>> 404 Not Found
>> /JavaJumble/web-inf/javadoc/index.html was not found on this server. 
>> Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001) s
>> :-)
>> Regards
>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Advanced Banking 
>> Solutions Limited
>> +44 (0)20 7448 9146
>> ���,��,����'����,��,����'����,��,������,��,����'����,��,����'����,��,���
>> ���,
>> ��,����'����,��,
>> This email and any attachments are confidential. They may contain 
>> privileged
>>
>> information or useless trivia and are intended for the named addressee 
>> (s)
>> only. They must not be distributed without our consent. If you are not 
>> the
>> intended recipient, please notify us immediately and do not disclose, 
>> distribute, or retain this
>> email or any
>> part of it. Unless expressly stated, opinions in this email are those 
>> of the
>>
>> individual sender, and not of Advanced Banking Solutions Limited. We 
>> believe
>>
>> but do not warrant that this e-mail and any attachments are virus 
>> free. You
>> must
>> therefore take full responsibility for virus checking. Advanced Banking
>> Solutions
>> Limited and its subsidiaries reserve the right to monitor all email
>> communications
>> through their networks.                 
>> ���,��,����'����,��,����'����,��,������,��,����'����,��,����'����,��,���
>> ���,
>> ��,����'����,��,
>>
>>
>> --
>> To unsubscribe, e-mail:   <mailto:struts-user-
>> [EMAIL PROTECTED]>
>> For additional commands, e-mail: <mailto:struts-user-
>> [EMAIL PROTECTED]>
>>
>>
>>
> I think web-inf should be WEB-INF in your action mapping.
>
> hope this helps,
> Barry
>
>
>
> --
> To unsubscribe, e-mail:   <mailto:struts-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:struts-user-
> [EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to