2011/10/28 Thomas Mortagne
<thomas.mortagne(a)xwiki.com>om>:
2011/10/28 Yang Li
<yang.lee.cool(a)gmail.com>om>:
> 于 2011/10/28 17:47, Thomas Mortagne 写道:
>> 2011/10/28 Yang Li <yang.lee.cool(a)gmail.com>om>:
>>> 于 2011/10/28 17:35, Thomas Mortagne 写道:
>>>> Sorry it's
>>>>
>>>>
>>>> <%
>>>>
>>>> println "filename=" + request.get("filename")
>>>> println "confirm=" + request.get("confirm")
>>>>
>>>> %>
>>> Now I got
>>>
>>> filename=null confirm=null
>>>
>>> I put xxxx.xar into the text box and checked Import all!
>> I really don't understand what could happen, that's a basic html form.
>> Look like in your case the browser just reload the page without the
>> parameters from the form.
>>
>> What browser are you using ?
>>
> Is it to put the two prints at the very begginning? or should them be
> somewhere else?
Anywhere you want as long as it's executed, at least at the beginning
you are sure it is.
> I am using firfox 7.0.1
Are you sure you clicked on the button ?
Another test:
Change the last
<form action="" method="post">
with
<form action="" method="get">
and see if the parameters are added to the URL when you click in the button.
Yes! I got
filename=xxxx.xar confirm=null
Import all
and the Overite warning table!