NullPointerException when using an interceptor in Struts 2

后端 未结 2 1071
自闭症患者
自闭症患者 2021-01-16 10:11

This is my WelcomeAction Class

package com.codinghazard.actions;

public class WelcomeAction {

    private String operandA;
    private String          


        
2条回答
  •  悲&欢浪女
    2021-01-16 10:19

     
    
        
        
            pages/Result.jsp
            pages/error.jsp
    
        
    

    try above.

    Whenever u ll use any extra interceptor which is not available in default interceptor list of struts2 then explicitly you have to add default stack to avail the functionality of default inteceptos as params or workflow.

提交回复
热议问题