我是这里的初学者,这是我第一次为 Blackboard 创建构建块。我知道我可以在构建块中使用 Struts,因此我使用 Struts 1.3 来开发 Blackboard 版本 9 的构建块。
我在执行 Dispatch Action 时感到困惑,Blackboard 似乎无法找到我转发的页面,并且我一直遇到此错误“找不到指定的资源,或者您无权访问它”。
在我的jsp中链接:
<a href="./teststruts.do">This is a test</a>
struts-config.xml 设置:
<action path="/teststruts" type="com.test.action.TestAction" parameter="execute" scope="request" validate="false">
<forward name="success" path="./thistest.jsp" />
<forward name="error" path="./index.jsp" />
我的调度操作只是将 mapping.findforward 映射到路径之一。
真的在这里挠头。