new to struts!!please help
hi,
i am new to struts and working on tomcat 5
in my application after registration i goto register_complete.jsp
in this page i am giving a link which displays a table from database in another jsp file
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
- - - -- -- -
<html:link forward="/DisplayTable.do">Click here</html:link>
the register_complete.jsp works fine without the above link but when the link is included it gives me error
javax.servlet.ServletException:Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrieve ActionForward named /DisplayTable.doorg.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
org.apache.jsp.success_jsp._jspService(success_jsp.java:83)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
but this page works fine when i run the page seperately like
http://localhost/regist/DisplayTable.do
my struts-config.xml
<action path="/DisplayTable"
type="app.ShowTableAction">
<forward name="success"
path="/ShowTable.jsp"/>
</action>
please help me am i missing something !!
divya

