---
title: "struts2下载出问题"
author: "java4evero"
date: "2012-02-07T15:58:58Z"
tags: []
slug: "struts2"
draft: false
lastmod: "2012-02-07T15:58:58Z"
id: 1396642
url: "https://java4evero.iteye.com/blog/1396642"
---

```java
if (inputStream == null) {   
                // Find the inputstream from the invocation variable stack   
                inputStream = (InputStream) invocation.getStack().findValue(conditionalParse(inputName, invocation));   
            }   
  
            if (inputStream == null) {   
                String msg = ("Can not find a java.io.InputStream with the name [" + inputname + "] in the invocation stack. " +   
                    "Check the <param name=\"inputName\"> tag specified for this action.");   
                LOG.error(msg);   
                throw new IllegalArgumentException(msg);   
            }  
```