That was the trick! All I had to do was remove the ".." and replace it with "/" and that was it.

Thanks.

                   Tom


Stephen Houston wrote:

Try removing the ".." from the path in the forward. We use <html:link>
with the forward parameter, however we always define the path for the
global forward as starting with a "/", e.g.

<global-forwards>
<forward name="president" path="/message_president/default.jsp" /> </global-forwards>


-----Original Message-----
From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 00:53
To: Stephen Houston
Subject: Global Forward and <html:link> tag


I have a global forward in my struts-config.xml file defined as:

<global-forwards>
    <forward name="president" path="../message_president/default.jsp" />
</global-forwards>

I have a jsp page with a struts form.  I do have an <html:link> as
defined:

<tr>
    <td align="center" width="150" height="25">
       <html:link forward="president">
        <font color="white" size="-2">
           <b><fmt:message key="menu.president"/></b>
        </font>
       </html:link>
    </td>
</tr>

This works fine in the JSP page, but when I call the action:
http://www.mydomain.net/membership_address.do

Then I get a Servlet Exception Error with:
../message_president/default.jsp

If I remove the <html:link> tag, and replace it with pure HTML (a href),
it works fine.

Anyone ever seen this before?   Thanks for any help!

                 Tom

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



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




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



Reply via email to