日期:2014-05-18  浏览次数:20585 次

webwork框架中可以直接运行html页面么?
我的程序中   有jsp及html,期中jsp都通过配置成.html输出了;
可是我直接调用某一目录下的html文件(cp.html)就出错:
错误如下:
There   is   no   Action   mapped   for   namespace   /pages/bejoyweb   and   action   name   cp.   Check   if   there   is   such   an   action   name   with   such   namespace   defined   in   the   xwork.xml   and   also   if   such   an   action   class   exists.   Check   also   the   log   to   see   if   the   action
class   is   successfully   loaded.   -   [unknown   location]
可以在配置中设置么?

--java初学者

------解决方案--------------------
没有配置
pages/bejoyweb/cp
------解决方案--------------------
可以直接调用,url为html的web路径,你的程序好像调用的是action的路径,应该是url写错了吧
------解决方案--------------------
搞不清楚。