You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kiuma <ki...@usa.net> on 2002/10/08 17:47:44 UTC

Help with forwarding needed

Hi all, I have the following problem

in struts-config.xml I defined:

<action path="/main" parameter="/secure/webappointments.jsp" 
type="org.apache.struts.actions.ForwardAction" />


in index.jsp I wrote:

html-el:html>
<head>
    <html-el:base/>   
    <title><bean:message key="title.index"/></title></head> 
    <link rel="stylesheet"  href="./css/links.css" TYPE="text/css"/>
   
</head>
<body>
<p>   
    <html-el:link forward="main">
        <bean-el:message key="link.userlist"/>
    </html-el:link>
</p>
</body>
</html-el:html>

but the result is


    HTTP ERROR: 500 Cannot create rewrite URL:
    java.net.MalformedURLException: Cannot retrive ActionForward named main

RequestURI=/webappointments/


Please help me!!!


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>