---
title: "struts安全版本升级"
author: "lean1252"
date: "2013-09-25T19:55:23Z"
tags: []
categories: ["互联网"]
slug: "struts"
draft: false
lastmod: "2013-09-25T19:55:48Z"
id: 1947262
url: "https://asflex.iteye.com/blog/1947262"
---

> [b]问题:[/b]版本从2.3.15.1变更为2.3.15.2,出现以下异常



```java
There is no Action mapped for namespace [/] and action name [xxx] associated with context path [app_name]
```



> [b]解决办法:[/b]在struts.properties里增加



```java
struts.enable.DynamicMethodInvocation=true
```
 

**ps：新版将此属性默认设为false了**