
Hi,I am working on struts 1.3.10 and I have developed my module using switchaction application and this is the source path I am using to link to the 'x' module or 'y' module or 'z' module. and 'action=/switchpath' is the action path to link struts-config.xml name.
(`<action path="/switchpath" type="org.apache.struts.actions.SwitchAction" />`)
and I am having struts-extras-1.3.10 and I have created struts-x-config.xml etc...
there is a 404 error called
(http://localhost:8085/Project/switchpath.do;jsessionid=D384D9C66E6A46620813C88D25B6A12B?prefix=/x&page=/m1.jsp).
This is the home link page that has to switch to the 3 modulese.
<html:link action="/switchpath?prefix=/x&page=/m1.jsp">
<center>
<h1>X</h1>
</center>
</html:link>
<html:link
action="/switchpath?prefix=/y&page=/m2.jsp">
<center>
<h1>Y</h1>
</center>
</html:link>
<html:link
action="/switchpath?prefix=/z&page=/m3.jsp">
<center>
<h1>Z</h1>
</center>
</html:link>
I am getting home page and cannot switch to either of the 3 modules. Is any other way to switch. please check the syntax of html:link. please help me out. asap
thanking you, SriRamaChandra.G
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.