I
in_dv
Hello All,
I am a newbie to struts. I am trying to get a simple example working
which I found on jakarta struts tutorial.
When I click on a link, I expect it to transfer to TestAction.jsp page
, but I can see it changes to TestAction.do and I get "Page Cannot be
found" HTTP 404 error.
Followign are the entries in struts-config.xml file
<action
path="/TestAction"
type="devika.TestAction">
<forward name="testAction" path="/TestAction.jsp"/>
</action>
following is entry in .jsp file
<html:link page="/TestAction.do">Test the Action</html:link>
Kindly please help me
D
I am a newbie to struts. I am trying to get a simple example working
which I found on jakarta struts tutorial.
When I click on a link, I expect it to transfer to TestAction.jsp page
, but I can see it changes to TestAction.do and I get "Page Cannot be
found" HTTP 404 error.
Followign are the entries in struts-config.xml file
<action
path="/TestAction"
type="devika.TestAction">
<forward name="testAction" path="/TestAction.jsp"/>
</action>
following is entry in .jsp file
<html:link page="/TestAction.do">Test the Action</html:link>
Kindly please help me
D