HTTP Status 500 - --------------------------------------------------------------------------------type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception Unable to instantiate Action, getroom,  defined for 'getroom' in namespace '/'No Scope registered for scope 'protorype'
com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:318)
com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:399)
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:198)
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:475)
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.2 logs.
--------------------------------------------------------------------------------Apache Tomcat/6.0.2
你好,我是一个职业培训机构的学员,我们做项目的时候,我用框架spring+Hibernate+Struts2整合的时候,
用Ajxa做的,发现页面无法跳入Action,发出请求;
然后我想到了,直接就 在IE地址栏中输入Action的名字,看看能不能跳转结果页面报错如上,没有见过,各位高手 请赐教一下 小菜鸟,感激涕零!!!!!!!!!!!!!!!!!!!!

解决方案 »

  1.   

    protorype  应该是 prototype
      

  2.   

    我感激你高手,小弟解决问题了,小弟初心打一,哈哈OK,跑下去了,代码青鸟Y2: 杨晓晨, 在下;走Java路子,谢谢了,这个问题困了我一天,哎
      

  3.   

    QQ 1425271077加入了,我现在做的答辩项目,学的Java有时间交流交流技术,OK
      

  4.   


    Unable to instantiate Action, getroom, defined for 'getroom' in namespace '/'No Scope registered for scope 'protorype'这里有很明显的错误提示吧
      

  5.   

    protorype 应该是 prototype