File upload in web action

Martin S March 4, 2013

Hello,

I am experiencing the following problem - when I try to open action screen for the action in the plugin I am writing, the screen does not open and is loading infinitely. The .vm file looks like:

<form action="TestBrowse.jspa" enctype="multipart/form-data" method="post">
        <fieldset>
                <input type="hidden" name="id" value="$action.id"/>
                <input type="text" name="submit-name"/>
                <input type="file" name="file"/>
                <input type="submit"/>
        </fieldset>
</form>

Without the file input element, everything works just fine. Where could be the problem?

1 answer

1 accepted

0 votes
Answer accepted
Martin S March 4, 2013

Suggest an answer

Log in or Sign up to answer