You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ry...@kodak.com on 2002/06/18 20:46:35 UTC
Using html:link
From: Ryan D. Cuprak
Hello,
I am trying to embedd a link in a jsp page that links to another jsp page
using the html:link. Presently I get the exception:
javax.servlet.ServletException: Cannot create rewrite URL:
java.net.MalformedURLException: Cannot retrive ActionForward named /search
when I attempt to view the page displaying the link.
In the page I have:
<html:link forward="search" title="perform search">Perform a Search</html:link>
And the struts-config.xml has:
<action
path="/search"
scope="request"
forward="/images/search.jsp"/>
The web.xml contains a mapping (don't know if this matters):
<servlet-mapping>
<servlet-name>auth</servlet-name>
<url-pattern>/authentication/*</url-pattern>
</servlet-mapping>
auth is the ActionServlet.
What am I doing wrong?
Thanks,
Ryan Cuprak
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>