struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sukhenko, Mikhail (Contr)" <MSUKHE...@northropgrumman.com>
Subject RE: Help with forwarding needed
Date Tue, 08 Oct 2002 21:24:52 GMT
try 
    <html-el:link forward="main.do">
        <bean-el:message key="link.userlist"/>
    </html-el:link>

-----Original Message-----
From: kiuma [mailto:kiuma@usa.net]
Sent: Tuesday, October 08, 2002 11:48 AM
To: Struts Users Mailing List
Subject: 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:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message